You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-14 13:41:12 +00:00
Treat hiding_enabled as bool throughout
This commit is contained in:
@@ -6342,14 +6342,14 @@ int TextEdit::get_info_gutter_width() const {
|
||||
return info_gutter_width;
|
||||
}
|
||||
|
||||
void TextEdit::set_hiding_enabled(int p_enabled) {
|
||||
void TextEdit::set_hiding_enabled(bool p_enabled) {
|
||||
if (!p_enabled)
|
||||
unhide_all_lines();
|
||||
hiding_enabled = p_enabled;
|
||||
update();
|
||||
}
|
||||
|
||||
int TextEdit::is_hiding_enabled() const {
|
||||
bool TextEdit::is_hiding_enabled() const {
|
||||
return hiding_enabled;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user