GUI: code style + ID fix
This commit is contained in:
parent
5eb8718ce5
commit
6d5d28484f
|
@ -1255,9 +1255,9 @@ void FurnaceGUI::drawPattern() {
|
|||
xAmount*=MAX(1,editStep);
|
||||
yAmount*=MAX(1,editStep);
|
||||
}
|
||||
if (settings.cursorWheelStep == 2) {
|
||||
xAmount *= MAX(1, editStepCoarse);
|
||||
yAmount *= MAX(1, editStepCoarse);
|
||||
if (settings.cursorWheelStep==2) {
|
||||
xAmount*=MAX(1,editStepCoarse);
|
||||
yAmount*=MAX(1,editStepCoarse);
|
||||
}
|
||||
moveCursor(xAmount,yAmount,false);
|
||||
}
|
||||
|
|
|
@ -2962,9 +2962,9 @@ void FurnaceGUI::drawSettings() {
|
|||
settings.cursorWheelStep=1;
|
||||
settingsChanged=true;
|
||||
}
|
||||
if (ImGui::RadioButton(_("Coarse Step##cws1"), settings.cursorWheelStep == 2)) {
|
||||
settings.cursorWheelStep = 2;
|
||||
settingsChanged = true;
|
||||
if (ImGui::RadioButton(_("Coarse Step##cws2"),settings.cursorWheelStep==2)) {
|
||||
settings.cursorWheelStep=2;
|
||||
settingsChanged=true;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue