1
0
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:
obrusvit 2024-04-20 17:36:18 +02:00 committed by Martin Milata
parent b8fd987dd8
commit fd96ae5548

View File

@ -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;