Skip to content

Commit ef57571

Browse files
committed
fix(keybinding): use 'crm' for projections
1 parent 8ecaffc commit ef57571

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

src/e3sm_quickview/app.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,8 @@ def _build_ui(self, **_):
142142
mt.bind(["alt+6", "6"], "Size6")
143143
mt.bind(["="], "SizeFlow")
144144

145-
mt.bind("e", "ProjectionEquidistant")
146-
mt.bind("b", "ProjectionRobinson")
145+
mt.bind("c", "ProjectionEquidistant")
146+
mt.bind("r", "ProjectionRobinson")
147147
mt.bind("m", "ProjectionMollweide")
148148

149149
mt.bind("f", "FileOpen")

src/e3sm_quickview/components/doc.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,8 @@ def __init__(self):
7575
description="Select projection to use for the visualizations. (Cylindrical Equidistant, Robinson, Mollweide)",
7676
)
7777
with self, v3.Template(v_slot_append=True):
78-
v3.VHotkey(keys="e", variant="contained", inline=True)
79-
v3.VHotkey(keys="b", variant="contained", inline=True)
78+
v3.VHotkey(keys="c", variant="contained", inline=True)
79+
v3.VHotkey(keys="r", variant="contained", inline=True)
8080
v3.VHotkey(keys="m", variant="contained", inline=True)
8181

8282

@@ -293,10 +293,10 @@ def __init__(self):
293293
with v3.VList(density="compact", classes="pa-0 ma-0"):
294294
with v3.VListItem(subtitle="Cylindrical Equidistant"):
295295
with v3.Template(v_slot_append="True"):
296-
v3.VHotkey(keys="e", variant="contained", inline=True)
296+
v3.VHotkey(keys="c", variant="contained", inline=True)
297297
with v3.VListItem(subtitle="Robinson"):
298298
with v3.Template(v_slot_append="True"):
299-
v3.VHotkey(keys="b", variant="contained", inline=True)
299+
v3.VHotkey(keys="r", variant="contained", inline=True)
300300
with v3.VListItem(subtitle="Mollweide"):
301301
with v3.Template(v_slot_append="True"):
302302
v3.VHotkey(keys="m", variant="contained", inline=True)

src/e3sm_quickview/components/tools.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -240,12 +240,12 @@ def options(self):
240240
{
241241
"title": "Cylindrical Equidistant",
242242
"value": "Cyl. Equidistant",
243-
"key": "e",
243+
"key": "c",
244244
},
245245
{
246246
"title": "Robinson",
247247
"value": "Robinson",
248-
"key": "b",
248+
"key": "r",
249249
},
250250
{
251251
"title": "Mollweide",

0 commit comments

Comments
 (0)