1
0
Fork 0
forked from len0rd/rockbox

Fix FS#13494

Change-Id: Ie306418431eb412dac00907eb2f59999d8b4dfb0
This commit is contained in:
Christian Soffke 2024-10-03 13:58:05 +02:00
parent 0cb0cb486f
commit 8808c42d6d

View file

@ -717,6 +717,7 @@ static int scroll_bmp(struct image_info *info, bool initial_frame)
#ifdef IMGVIEW_ZOOM_PRE
if (lastbutton != IMGVIEW_ZOOM_PRE)
break;
lastbutton = button;
#endif
return ZOOM_IN;
break;
@ -725,6 +726,7 @@ static int scroll_bmp(struct image_info *info, bool initial_frame)
#ifdef IMGVIEW_ZOOM_PRE
if (lastbutton != IMGVIEW_ZOOM_PRE)
break;
lastbutton = button;
#endif
return ZOOM_OUT;
break;