mirror of
https://github.com/wassname/sloth.git
synced 2026-08-20 12:51:02 +08:00
Use <Space> as mark all as confirmed/labeled and go to next frame
Also add back <Backspace> hotkey
This commit is contained in:
@@ -70,6 +70,11 @@ LABELS = (
|
|||||||
# third entry -- if present -- is expected to be a string describing the
|
# third entry -- if present -- is expected to be a string describing the
|
||||||
# action.
|
# action.
|
||||||
HOTKEYS = (
|
HOTKEYS = (
|
||||||
|
('Space', [lambda lt: lt.currentImage().confirmAll(),
|
||||||
|
lambda lt: lt.currentImage().setUnlabeled(False),
|
||||||
|
lambda lt: lt.gotoNext()
|
||||||
|
], 'Mark image as labeled/confirmed and go to next'),
|
||||||
|
('Backspace', lambda lt: lt.gotoPrevious(), 'Previous image/frame'),
|
||||||
('PgDown', lambda lt: lt.gotoNext(), 'Next image/frame'),
|
('PgDown', lambda lt: lt.gotoNext(), 'Next image/frame'),
|
||||||
('PgUp', lambda lt: lt.gotoPrevious(), 'Previous image/frame'),
|
('PgUp', lambda lt: lt.gotoPrevious(), 'Previous image/frame'),
|
||||||
('Tab', lambda lt: lt.selectNextAnnotation(), 'Select next annotation'),
|
('Tab', lambda lt: lt.selectNextAnnotation(), 'Select next annotation'),
|
||||||
|
|||||||
Reference in New Issue
Block a user