aboutsummaryrefslogtreecommitdiff
path: root/src/gui/ComboBox.cpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-08-01 20:55:16 +0200
committerdec05eba <dec05eba@protonmail.com>2024-08-01 20:55:16 +0200
commit67216467d4dc43134a07f7f843a80a1adf688acd (patch)
treebdbdda36c45a01c10e6ebcb8af37d3231bb90a2f /src/gui/ComboBox.cpp
parent27255cdb64b87c048fad70ca893f684cf61819a4 (diff)
Move to settings page on settings button pressed
Diffstat (limited to 'src/gui/ComboBox.cpp')
-rw-r--r--src/gui/ComboBox.cpp1
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;
}