What's Changed
Features
- feat(app): show canvas mode in status bar in #1682
- feat(app): show create-shape tools on left side bar in #1685
- feat(app): show image index in window title in #1692
- feat(canvas): allows dragging to move around the canvas by @juliusl in #1622
- feat(canvas): prioritize to select highlighted shape's vertex in Canvas in #1691
- feat(icons): refresh icons in #1701
- feat(zoom): zoom towards canvas center unless by mouse wheel in #1704
Fixes
- fix(app): disable editMode button onload because it's already EDIT mode in #1683
- fix(app): fix font size inconsistency in ToolBar on macOS in #1713
- fix(app): fix redundant mayContinue reusing fileSelectionChanged in #1693
- fix(app): handle high-dpi scaling issue on Qt applications in #1687
- fix(app): handle null image in paintCanvas in #1695
- fix(app): handle when file is closed and imageList is not None in #1700
- fix(app): show current index based on file list widget in #1708
- fix(app): stop focusing to ai-prompt after closing file in #1699
- fix(app): tweak epsilon for scaleFitWidth to better hide scrollbar in #1702
- fix(app): use ascii bullet in status messages to fix shifting in #1712
- fix(canvas): clear Canvas.shapes so that it won't be rendered after reset in #1690
- fix(canvas): stop caching sam by lru cache to reduce vram usage in #1715
- fix(zoom): center zoom on visible region center instead of canvas in #1705
Others
- chore(app): compact toolbar in #1684
- chore(tools): log lrelease version used & skip if lrelease is not 5.15.x in #1686
- refactor(app): refactor to use snake case and type-annotation in #1694
- refactor(app): refactor to use snake_case and type-annotation in #1697
- refactor(app): replace _adjust_scale with _set_zoom in #1703
- refactor(app): replace _noSelectionSlot with itemSelectionChanged.connect/disconnect in #1698
- refactor(app): use snake_case and type-annotate in #1696
- refactor(tests): use pathlib in labelme_tests in #1707
- test: isolate QSettings in test_app.py to prevent side effects in #1689
New Contributors
Full Changelog: v5.9.1...v5.10.0