mirror of
https://github.com/joel16/VITAlbum.git
synced 2024-11-26 21:10:25 +00:00
gui: Add a delay when scrolling through images to fix display glitches
This commit is contained in:
parent
eb2bcd914c
commit
22d281cd71
@ -139,11 +139,15 @@ namespace GUI {
|
||||
|
||||
if (pressed & SCE_CTRL_LTRIGGER) {
|
||||
GUI::ClearTextures(&item);
|
||||
sceKernelDelayThread(100000);
|
||||
|
||||
if (!GUI::HandlePrev(&item))
|
||||
item.state = GUI_STATE_HOME;
|
||||
}
|
||||
else if (pressed & SCE_CTRL_RTRIGGER) {
|
||||
GUI::ClearTextures(&item);
|
||||
sceKernelDelayThread(100000);
|
||||
|
||||
if (!GUI::HandleNext(&item))
|
||||
item.state = GUI_STATE_HOME;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user