From c7079635f77bdc5b597372e0b978119cdcd44424 Mon Sep 17 00:00:00 2001 From: Gmorks Date: Tue, 27 Jan 2026 01:57:03 -0600 Subject: [PATCH] feat: add Escape key to exit fullscreen mode and improve fullscreen setting label Add binding for Escape key to exit fullscreen mode in WatchPointWindow. Update settings dialog label to indicate that fullscreen mode requires ComfyUI restart to apply. --- watch_point.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/watch_point.py b/watch_point.py index e8063ec..d2a2802 100644 --- a/watch_point.py +++ b/watch_point.py @@ -936,6 +936,7 @@ class WatchPointWindow: self.root.bind("", lambda e: self._toggle_toolbar()) self.root.bind("

", lambda e: self._toggle_drawer()) self.root.bind("", lambda e: self._toggle_fullscreen()) + self.root.bind("", lambda e: self._set_fullscreen(False)) self.root.protocol("WM_DELETE_WINDOW", self._on_close) def _set_initial_state(self): @@ -1297,7 +1298,7 @@ class WatchPointSettingsDialog: print(f"Watch Point: Error listing monitors: {e}") tk.Checkbutton(frame, text="Show Toolbar on Startup", variable=self.show_toolbar_var).pack(anchor="w") - tk.Checkbutton(frame, text="Start in Fullscreen Mode", variable=self.start_fullscreen_var).pack(anchor="w") + tk.Checkbutton(frame, text="Start in Fullscreen Mode. Need ComfyUI restart to apply.", variable=self.start_fullscreen_var).pack(anchor="w") fmt_frame = tk.LabelFrame(frame, text="Default Save Format", padx=10, pady=10) fmt_frame.pack(anchor="w", fill="x", pady=(10, 5))