mirror of
https://github.com/1j01/textual-paint.git
synced 2024-12-22 14:21:33 +03:00
Hide dev feature key bindings from footer, clean up
This commit is contained in:
parent
652e18f76c
commit
3e2ded8abd
@ -56,17 +56,11 @@ class GalleryApp(App[None]):
|
||||
# dev helper
|
||||
# f5 would be more traditional, but I need something not bound to anything
|
||||
# in the context of the terminal in VS Code, and not used by this app, like Ctrl+R, and detectable in the terminal.
|
||||
# This isn't as important now that I have automatic reloading,
|
||||
# but I still use it regularly.
|
||||
Binding("f2", "reload", _("Reload")),
|
||||
# Temporary quick access to work on a specific dialog.
|
||||
# Can be used together with `--press f3` when using `textual run` to open the dialog at startup.
|
||||
# Would be better if all dialogs were accessible from the keyboard.
|
||||
# Binding("f3", "custom_zoom", _("Custom Zoom")),
|
||||
# This shouldn't be important now that I have automatic reloading,
|
||||
# but I still use it regularly, since restart_program isn't working!
|
||||
Binding("f2", "reload", _("Reload"), show=False),
|
||||
# Dev tool to inspect the widget tree.
|
||||
Binding("f12", "toggle_inspector", _("Toggle Inspector")),
|
||||
# Update screenshot on readme.
|
||||
# Binding("ctrl+j", "update_screenshot", _("Update Screenshot")),
|
||||
Binding("f12", "toggle_inspector", _("Toggle Inspector"), show=False),
|
||||
]
|
||||
|
||||
def compose(self) -> ComposeResult:
|
||||
|
Loading…
Reference in New Issue
Block a user