diff options
author | Gilles Roudière <gilles.roudiere@gmail.com> | 2021-09-06 16:22:36 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-06 16:22:36 +0200 |
commit | 1f97d5738434eb0a11c5d2615125a165e8e751b5 (patch) | |
tree | 13b8aa4bde490b74f94b15e3d6616d0ec451f9d6 /scene/gui/text_edit.h | |
parent | b0b30aaf41191ccbfdc8786cb79a76efb16d1459 (diff) | |
parent | c8949f21e7243817cda03d690cb2296d71f210ac (diff) |
Merge pull request #35859 from Calinou/minimap-add-hover-pressed-feedback
Add visual feedback when hovering or dragging the code minimap grabber
Diffstat (limited to 'scene/gui/text_edit.h')
-rw-r--r-- | scene/gui/text_edit.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scene/gui/text_edit.h b/scene/gui/text_edit.h index ced03e19d0..07999c2442 100644 --- a/scene/gui/text_edit.h +++ b/scene/gui/text_edit.h @@ -446,12 +446,14 @@ private: // minimap scroll bool minimap_clicked = false; + bool hovering_minimap = false; bool dragging_minimap = false; bool can_drag_minimap = false; double minimap_scroll_ratio = 0.0; double minimap_scroll_click_pos = 0.0; + void _update_minimap_hover(); void _update_minimap_click(); void _update_minimap_drag(); |