Skip to content

Commit

Permalink
bw/bundles/voctocore: fix bug in preset keyboard shortcuts
Browse files Browse the repository at this point in the history
  • Loading branch information
Kunsi committed Jan 28, 2025
1 parent e92933e commit cb0a32f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ fullscreen = false
ports = false
queues = false
presets = ${','.join(presets.keys())}
% for preset_name, preset_config in presets.items():
% for preset_name, preset_config in sorted(presets.items()):

[preset.${preset_name}]
% for k,v in sorted(preset_config.items()):
Expand Down
4 changes: 2 additions & 2 deletions bundlewrap/bundles/voctocore/items.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
"icon": "side-by-side.svg",
}
try:
presets[f"fs_{source}"]["key"] = preset_buttons.pop(0)
presets[f"sbs_{cam1}_{cam2}"]["key"] = preset_buttons.pop(0)
except IndexError:
pass

Expand All @@ -94,7 +94,7 @@
"icon": "side-by-side-preview.svg",
}
try:
presets[f"fs_{source}"]["key"] = preset_buttons.pop(0)
presets[f"lec_slides_{source}"]["key"] = preset_buttons.pop(0)
except IndexError:
pass

Expand Down

0 comments on commit cb0a32f

Please sign in to comment.