feat(core/emu): move btn swipe to middle

Swipe action initiated by arrow button press now starts in the middle of
the screen which should always be in the swipe area.
obrusvit/ui-t3t1-reset-device-apple-hotfix
obrusvit 3 weeks ago
parent def4c55983
commit 3f8ef95a43

@ -35,7 +35,7 @@ static int _touch_x = 0;
static int _touch_y = 0;
// distance from the edge where arrow button swipe starts [px]
static const int _btn_swipe_begin = 20;
static const int _btn_swipe_begin = 120;
// length of the arrow button swipe [px]
static const int _btn_swipe_length = 60;

Loading…
Cancel
Save