mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-23 14:58:09 +00:00
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.
This commit is contained in:
parent
b8fd987dd8
commit
fd96ae5548
@ -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…
Reference in New Issue
Block a user