File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -3487,7 +3487,7 @@ std::string browseForFile(const std::vector<std::string_view> extensionList) {
34873487 swiWaitForVBlank ();
34883488
34893489 prevPos = CURPOS;
3490- CURPOS = std::clamp (titleboxXpos[ms ().secondaryDevice ] / titleboxXspacing, 0 , last_used_box);
3490+ CURPOS = std::clamp (( titleboxXpos[ms ().secondaryDevice ] + 28 ) / titleboxXspacing, 0 , last_used_box);
34913491
34923492 if (CURPOS != prevPos) {
34933493 // Load icons
@@ -3539,7 +3539,7 @@ std::string browseForFile(const std::vector<std::string_view> extensionList) {
35393539
35403540 titleboxXdest[ms ().secondaryDevice ] = titleboxXdest[ms ().secondaryDevice ] - (touch.px - prevTouch1.px );
35413541 titlewindowXdest[ms ().secondaryDevice ] = std::clamp (titleboxXdest[ms ().secondaryDevice ] * 5 / titleboxXspacing, 0 , 192 );
3542- CURPOS = std::clamp ((titleboxXdest [ms ().secondaryDevice ] + 32 ) / titleboxXspacing, 0 , last_used_box);
3542+ CURPOS = std::clamp ((titleboxXpos [ms ().secondaryDevice ] + 28 ) / titleboxXspacing, 0 , last_used_box);
35433543
35443544 if (prevPos != CURPOS) {
35453545 // Load icons
You can’t perform that action at this time.
0 commit comments