We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e5d913 commit a5cafccCopy full SHA for a5cafcc
src/scenes/settings_menu/color_setting_row.cpp
@@ -114,17 +114,19 @@ bool detail::ColorPickerScene::handle_event(
114
const SDL_Event& event
115
) {
116
117
+ const auto result = m_color_picker.handle_event(input_manager, event);
118
+ if (result) {
119
+ return result;
120
+ }
121
+
122
const auto navigation_event = input_manager->get_navigation_event(event);
123
124
125
if (navigation_event == input::NavigationEvent::BACK) {
126
m_should_exit = true;
127
return true;
128
}
129
- const auto result = m_color_picker.handle_event(input_manager, event);
- if (result) {
- return result;
- }
130
131
// swallow all events
132
0 commit comments