Skip to content

Commit

Permalink
fix wonky depth slider in anaglyph settings
Browse files Browse the repository at this point in the history
  • Loading branch information
skyfloogle committed Dec 3, 2024
1 parent b64acfd commit 8f3fb21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/3ds/gui_hard.c
Original file line number Diff line number Diff line change
Expand Up @@ -1745,7 +1745,7 @@ static void anaglyph_settings(int initial_button) {

if (!touch_grab && kDown & KEY_TOUCH &&
touch_pos.px >= 256 && touch_pos.px < 256 + 48
&& touch_pos.py >= 34 + (8 + tVBOpt.ANAGLYPH_DEPTH) * 11 && touch_pos.py < 34 + 14 + (8 + tVBOpt.ANAGLYPH_DEPTH) * 11
&& touch_pos.py >= 34 - 8 + (8 - tVBOpt.ANAGLYPH_DEPTH) * 11 && touch_pos.py < 34 + 8 + 14 + (8 - tVBOpt.ANAGLYPH_DEPTH) * 11
) {
touch_grab = true;
buttonLock = true;
Expand Down

0 comments on commit 8f3fb21

Please sign in to comment.