@@ -197,7 +197,7 @@ void handle_character_input(
197197
198198 handle_mouse_button (
199199 e, //
200- true ,
200+ ruis::button_action::press ,
201201 ruis::mouse_button::left,
202202 *self->window
203203 );
@@ -215,7 +215,7 @@ void handle_character_input(
215215
216216 handle_mouse_button (
217217 e, //
218- false ,
218+ ruis::button_action::release ,
219219 ruis::mouse_button::left,
220220 *self->window
221221 );
@@ -233,7 +233,7 @@ void handle_character_input(
233233
234234 handle_mouse_button (
235235 e, //
236- true ,
236+ ruis::button_action::press ,
237237 ruis::mouse_button::right,
238238 *self->window
239239 );
@@ -251,7 +251,7 @@ void handle_character_input(
251251
252252 handle_mouse_button (
253253 e, //
254- false ,
254+ ruis::button_action::release ,
255255 ruis::mouse_button::right,
256256 *self->window
257257 );
@@ -269,7 +269,7 @@ void handle_character_input(
269269
270270 handle_mouse_button (
271271 e, //
272- true ,
272+ ruis:button_action::press ,
273273 ruis::mouse_button::middle,
274274 *self->window
275275 );
@@ -287,7 +287,7 @@ void handle_character_input(
287287
288288 handle_mouse_button (
289289 e, //
290- false ,
290+ ruis::button_action::release ,
291291 ruis::mouse_button::middle,
292292 *self->window
293293 );
@@ -319,14 +319,14 @@ void handle_character_input(
319319
320320 handle_mouse_button (
321321 e, //
322- true ,
322+ ruis::button_action::press ,
323323 button,
324324 *self->window
325325 );
326326
327327 handle_mouse_button (
328328 e, //
329- false ,
329+ ruis::button_action::release ,
330330 button,
331331 *self->window
332332 );
0 commit comments