GUI: code style + ID fix

This commit is contained in:
tildearrow 2025-06-24 03:56:25 -05:00
parent 5eb8718ce5
commit 6d5d28484f
2 changed files with 6 additions and 6 deletions

View file

@ -1255,9 +1255,9 @@ void FurnaceGUI::drawPattern() {
xAmount*=MAX(1,editStep); xAmount*=MAX(1,editStep);
yAmount*=MAX(1,editStep); yAmount*=MAX(1,editStep);
} }
if (settings.cursorWheelStep == 2) { if (settings.cursorWheelStep==2) {
xAmount *= MAX(1, editStepCoarse); xAmount*=MAX(1,editStepCoarse);
yAmount *= MAX(1, editStepCoarse); yAmount*=MAX(1,editStepCoarse);
} }
moveCursor(xAmount,yAmount,false); moveCursor(xAmount,yAmount,false);
} }

View file

@ -2962,9 +2962,9 @@ void FurnaceGUI::drawSettings() {
settings.cursorWheelStep=1; settings.cursorWheelStep=1;
settingsChanged=true; settingsChanged=true;
} }
if (ImGui::RadioButton(_("Coarse Step##cws1"), settings.cursorWheelStep == 2)) { if (ImGui::RadioButton(_("Coarse Step##cws2"),settings.cursorWheelStep==2)) {
settings.cursorWheelStep = 2; settings.cursorWheelStep=2;
settingsChanged = true; settingsChanged=true;
} }
} }