We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 11ecd14 commit 0b41e44Copy full SHA for 0b41e44
1 file changed
src/ruisapp/glue/sdl/glue.cxx
@@ -193,7 +193,8 @@ void main_loop_iteration(void* user_data)
193
// utki::logcat("mouse button event: pos = ", pos, '\n');
194
195
win.gui.send_mouse_button(
196
- e.button.type == SDL_MOUSEBUTTONDOWN ? ruis::button_action::press : ruis::button_action::release, //
+ e.button.type == SDL_MOUSEBUTTONDOWN ? ruis::button_action::press
197
+ : ruis::button_action::release, //
198
pos,
199
sdl_button_number_to_ruis_enum(e.button.button),
200
0 // pointer id
0 commit comments