Add 'CenterOnCursor' command and improve cursor scrolling logic

- Introduced `CommandId::CenterOnCursor` to center viewport on the cursor line.
- Improved scrolling behavior in `ImGuiRenderer` to avoid aggressive centering and keep visible lines stable.
- Updated `make-app-release` to rename the output app to `kge-qt.app`.
- Adjusted padding in `ImGuiFrontend` to align with `ImGuiRenderer` settings for consistent scrolling.
- Bumped version to 1.4.1.
This commit is contained in:
2025-12-05 08:15:23 -08:00
parent 7069943df5
commit 952e1ed3f2
7 changed files with 68 additions and 13 deletions

View File

@@ -20,9 +20,10 @@ cmake -S . -B cmake-build-release -DBUILD_GUI=ON -DCMAKE_BUILD_TYPE=Release -DEN
cd cmake-build-release-qt
make clean
rm -fr kge.app*
rm -fr kge.app* kge-qt.app*
make
zip -r kge.app.zip kge.app
sha256sum kge.app.zip
mv kge.app kge-qt.app
zip -r kge-qt.app.zip kge-qt.app
sha256sum kge-qt.app.zip
open .
cd ..