refactor: hide window instead of showing when recording starts

This commit is contained in:
sankalp committed 2026-07-12 05:02:26 +05:45
1 parent b3b684720a
commit 5af4a80d1d
1 file changed
+1 -1
+1 -1
View File
@@ -279,7 +279,7 @@ class ScreenCaptureWindow(Window):
def _on_recording_started(self, *_):
self._action_btn.set_label("Stop")
self._action_btn.get_style_context().add_class("recording")
self.show()
self.hide()
def _on_recording_stopped(self, *_):
tool = self._tool_group.selected_id or ""