File tree Expand file tree Collapse file tree 1 file changed +18
-22
lines changed
apps/desktop/src-tauri/src Expand file tree Collapse file tree 1 file changed +18
-22
lines changed Original file line number Diff line number Diff line change @@ -742,28 +742,24 @@ impl ShowCapWindow {
742742 } ;
743743
744744 #[ cfg( windows) ]
745- let window = {
746- let window = self
747- . window_builder ( app, "/in-progress-recording" )
748- . maximized ( false )
749- . resizable ( false )
750- . fullscreen ( false )
751- . shadow ( false )
752- . always_on_top ( true )
753- . transparent ( true )
754- . visible_on_all_workspaces ( true )
755- . content_protected ( should_protect)
756- . inner_size ( width, height)
757- . position ( pos_x, pos_y)
758- . skip_taskbar ( false )
759- . initialization_script ( format ! (
760- "window.COUNTDOWN = {};" ,
761- countdown. unwrap_or_default( )
762- ) )
763- . build ( ) ?;
764-
765- window
766- } ;
745+ let window = self
746+ . window_builder ( app, "/in-progress-recording" )
747+ . maximized ( false )
748+ . resizable ( false )
749+ . fullscreen ( false )
750+ . shadow ( false )
751+ . always_on_top ( true )
752+ . transparent ( true )
753+ . visible_on_all_workspaces ( true )
754+ . content_protected ( should_protect)
755+ . inner_size ( width, height)
756+ . position ( pos_x, pos_y)
757+ . skip_taskbar ( false )
758+ . initialization_script ( format ! (
759+ "window.COUNTDOWN = {};" ,
760+ countdown. unwrap_or_default( )
761+ ) )
762+ . build ( ) ?;
767763
768764 debug ! (
769765 "InProgressRecording window created: label={}, inner_size={:?}, outer_position={:?}" ,
You can’t perform that action at this time.
0 commit comments