Added "Coarse Step" option under the "Move Cursor with Scroll Wheel" setting (#2463)

* "Coarse Step" option for Moving Cursor with Scroll Wheel

* Update pattern.cpp

* Update settings.cpp

* Update settings.cpp
This commit is contained in:
recme 2025-06-24 04:55:12 -04:00 committed by GitHub
parent 801f5c5720
commit 5eb8718ce5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 9 additions and 1 deletions

View file

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