diff options
Diffstat (limited to 'src/gui/ComboBox.cpp')
-rw-r--r-- | src/gui/ComboBox.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/ComboBox.cpp b/src/gui/ComboBox.cpp index 2766797..dd683e1 100644 --- a/src/gui/ComboBox.cpp +++ b/src/gui/ComboBox.cpp @@ -40,6 +40,7 @@ namespace gsr { if(mgl::FloatRect(position, item_size).contains(mouse_pos)) { show_dropdown = !show_dropdown; + move_to_top = true; } else { show_dropdown = false; } |