Skip to content

Commit 8ecaffc

Browse files
committed
fix(keybinding): set lat/lon crop to 'l'
1 parent f4ca4c1 commit 8ecaffc

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/e3sm_quickview/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ def _build_ui(self, **_):
152152
mt.bind("h", "ToggleHelp")
153153

154154
mt.bind("p", "ToolbarLayout")
155-
mt.bind("c", "ToolbarCrop")
155+
mt.bind("l", "ToolbarCrop")
156156
mt.bind("s", "ToolbarSelect")
157157
mt.bind("a", "ToolbarAnimation")
158158
mt.bind("g", "ToggleGroups")

src/e3sm_quickview/components/doc.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ def __init__(self):
9999
description="Toggle cropping toolbar for adjusting spacial bounds.",
100100
)
101101
with self, v3.Template(v_slot_append=True):
102-
v3.VHotkey(keys="c", variant="contained", inline=True)
102+
v3.VHotkey(keys="l", variant="contained", inline=True)
103103

104104

105105
class ToolDataSelection(Tool):
@@ -257,7 +257,7 @@ def __init__(self):
257257
with v3.VRow(classes="ma-0 pb-4"):
258258
v3.VLabel("Toggle Lat/Long cropping toolbar")
259259
v3.VSpacer()
260-
v3.VHotkey(keys="c", variant="contained", inline=True)
260+
v3.VHotkey(keys="l", variant="contained", inline=True)
261261
with v3.VRow(classes="ma-0 pb-4"):
262262
v3.VLabel("Toggle Slice selection toolbar")
263263
v3.VSpacer()

src/e3sm_quickview/components/tools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ def __init__(self):
163163
title="Lat/Long cropping",
164164
icon="mdi-web",
165165
value="adjust-databounds",
166-
keybinding="c",
166+
keybinding="l",
167167
)
168168

169169

0 commit comments

Comments
 (0)