aboutsummaryrefslogtreecommitdiff
path: root/scene/gui/line_edit.h
diff options
context:
space:
mode:
authorPaulb232016-06-21 00:16:18 +0100
committerPaulb232016-06-22 13:26:44 +0100
commite09e036565cdcb37b86f64c16531ce8fad4f860a (patch)
treef7919d30af8889f3751515ea3d4a4ad64929de52 /scene/gui/line_edit.h
parentc85f27c9736c1634477939ddba0525624c1a5602 (diff)
downloadgodot-e09e036565cdcb37b86f64c16531ce8fad4f860a.tar.gz
godot-e09e036565cdcb37b86f64c16531ce8fad4f860a.tar.zst
godot-e09e036565cdcb37b86f64c16531ce8fad4f860a.zip
Line edit caret no longer draws on focus loss
Diffstat (limited to '')
-rw-r--r--scene/gui/line_edit.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/gui/line_edit.h b/scene/gui/line_edit.h
index bcacb441c..e458c47ff 100644
--- a/scene/gui/line_edit.h
+++ b/scene/gui/line_edit.h
@@ -90,6 +90,7 @@ private:
Timer *caret_blink_timer;
bool caret_blink_enabled;
bool draw_caret;
+ bool window_has_focus;
void shift_selection_check_pre(bool);
void shift_selection_check_post(bool);