Code style

This commit is contained in:
DiSlord 2020-05-25 13:36:23 +03:00
parent cd4fc4f54f
commit ff52ba1d45

3
ui.c
View file

@ -2177,7 +2177,8 @@ void ui_process_touch(void)
int touch_x, touch_y; int touch_x, touch_y;
int status = touch_check(); int status = touch_check();
if (status == EVT_TOUCH_PRESSED || status == EVT_TOUCH_DOWN) { if (status == EVT_TOUCH_PRESSED || status == EVT_TOUCH_DOWN) {
touch_position(&touch_x, &touch_y); switch (ui_mode) { touch_position(&touch_x, &touch_y);
switch (ui_mode) {
case UI_NORMAL: case UI_NORMAL:
// Try drag marker // Try drag marker
if (touch_pickup_marker(touch_x, touch_y)) if (touch_pickup_marker(touch_x, touch_y))