Ephoto: Release the drag event on mouse up in the single view.

v-1.6.0
Stephen Houston 7 years ago
parent 2e6998b0c0
commit 271d43b9b0
  1. 6
      src/bin/ephoto_single_browser.c

@ -131,15 +131,15 @@ _image_mouse_up_cb(void *data, Evas *e EINA_UNUSED,
if ((ev->button == 1) && (ev->flags == EVAS_BUTTON_DOUBLE_CLICK))
{
ecore_timer_del(_1s_hold);
_1s_hold = NULL;
elm_win_fullscreen_set(sb->ephoto->win,
elm_win_fullscreen_set(sb->ephoto->win,
!elm_win_fullscreen_get(sb->ephoto->win));
}
else if (ev->button == 3)
{
_edit_menu(sb);
}
ecore_timer_del(_1s_hold);
_1s_hold = NULL;
}
static Evas_Object *

Loading…
Cancel
Save