File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ class ScreenMarker {
60
60
} ,
61
61
} ) ;
62
62
63
- this . screenWaterFlow . blur ( ) ;
63
+ this . screenWaterFlow . setFocusable ( false ) ;
64
64
this . screenWaterFlow . setContentProtection ( false ) ;
65
65
this . screenWaterFlow . setIgnoreMouseEvents ( true ) ;
66
66
@@ -243,7 +243,7 @@ class ScreenMarker {
243
243
this . currentOverlay . setAlwaysOnTop ( true , 'screen-saver' ) ;
244
244
}
245
245
246
- this . currentOverlay . blur ( ) ;
246
+ this . currentOverlay . setFocusable ( false ) ;
247
247
this . currentOverlay . setContentProtection ( true ) ; // not show for vlm model
248
248
this . currentOverlay . setIgnoreMouseEvents ( true ) ;
249
249
Original file line number Diff line number Diff line change @@ -147,7 +147,7 @@ export async function hideWindowBlock<T>(
147
147
try {
148
148
mainWindow ?. setContentProtection ( false ) ;
149
149
mainWindow ?. setAlwaysOnTop ( true ) ;
150
- mainWindow ?. blur ( ) ;
150
+ mainWindow ?. setFocusable ( false ) ;
151
151
try {
152
152
if ( mainWindow ) {
153
153
originalBounds = mainWindow . getBounds ( ) ;
@@ -167,7 +167,7 @@ export async function hideWindowBlock<T>(
167
167
if ( mainWindow && originalBounds ) {
168
168
mainWindow ?. setBounds ( originalBounds ) ;
169
169
}
170
- mainWindow ?. restore ( ) ;
170
+ mainWindow ?. setFocusable ( true ) ;
171
171
}
172
172
}
173
173
You can’t perform that action at this time.
0 commit comments