mirror of
https://github.com/wassname/sloth.git
synced 2026-07-30 12:30:39 +08:00
allow adding hotkeys to label types
This commit is contained in:
@@ -4,3 +4,7 @@ self.add_label("Rect", {"type": "rect"})
|
||||
self.add_label("FixedRatioRect", {"type": "ratiorect", "_ratio": RATIOS})
|
||||
self.add_label("Point", {"type": "point"})
|
||||
self.add_label("Polygon", {"type": "polygon"})
|
||||
|
||||
self.add_hotkey("", "Rect", "r")
|
||||
self.add_hotkey("", "Point", "p")
|
||||
self.add_hotkey("", "Polygon", "o")
|
||||
|
||||
Reference in New Issue
Block a user