Skip to content

Commit

Permalink
🐛 🔥 remove ctrl/shift keybinds
Browse files Browse the repository at this point in the history
  • Loading branch information
danton267 committed Aug 11, 2023
1 parent c9c3387 commit 79c582a
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 18 deletions.
5 changes: 0 additions & 5 deletions callbacks/control_bar.py
Original file line number Diff line number Diff line change
Expand Up @@ -279,11 +279,6 @@ def annotation_color(
pressed_key = (
keybind_event_listener.get("key", None) if keybind_event_listener else None
)
pressed_key = (
f"ctrl+{pressed_key}"
if keybind_event_listener.get("ctrlKey", None)
else pressed_key
)
if not pressed_key:
raise PreventUpdate
if pressed_key not in KEYBINDS["classes"]:
Expand Down
4 changes: 0 additions & 4 deletions components/control_bar.py
Original file line number Diff line number Diff line change
Expand Up @@ -649,10 +649,6 @@ def create_info_card_affix():
["1-9"],
"Select annotation class 1-9",
),
create_keybind_row(
["clrl (control)", "1-9"],
"Select annotation class 10-19",
),
],
p=0,
),
Expand Down
9 changes: 0 additions & 9 deletions constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,6 @@
"7",
"8",
"9",
"ctrl+1",
"ctrl+2",
"ctrl+3",
"ctrl+4",
"ctrl+5",
"ctrl+6",
"ctrl+7",
"ctrl+8",
"ctrl+9",
],
}

Expand Down

0 comments on commit 79c582a

Please sign in to comment.