File tree Expand file tree Collapse file tree 7 files changed +3870
-3516
lines changed Expand file tree Collapse file tree 7 files changed +3870
-3516
lines changed Original file line number Diff line number Diff line change @@ -147,10 +147,12 @@ function Page() {
147147
148148 if ( rawOptions . captureTarget . variant === "display" ) {
149149 const screenId = rawOptions . captureTarget . id ;
150- screen = _screens ( ) ?. find ( ( s : any ) => s . id === screenId ) ?? _screens ( ) ?. [ 0 ] ;
150+ screen =
151+ _screens ( ) ?. find ( ( s : any ) => s . id === screenId ) ?? _screens ( ) ?. [ 0 ] ;
151152 } else if ( rawOptions . captureTarget . variant === "area" ) {
152153 const screenId = rawOptions . captureTarget . screen ;
153- screen = _screens ( ) ?. find ( ( s : any ) => s . id === screenId ) ?? _screens ( ) ?. [ 0 ] ;
154+ screen =
155+ _screens ( ) ?. find ( ( s : any ) => s . id === screenId ) ?? _screens ( ) ?. [ 0 ] ;
154156 }
155157
156158 return screen ;
@@ -160,7 +162,8 @@ function Page() {
160162
161163 if ( rawOptions . captureTarget . variant === "window" ) {
162164 const windowId = rawOptions . captureTarget . id ;
163- win = _windows ( ) ?. find ( ( s : any ) => s . id === windowId ) ?? _windows ( ) ?. [ 0 ] ;
165+ win =
166+ _windows ( ) ?. find ( ( s : any ) => s . id === windowId ) ?? _windows ( ) ?. [ 0 ] ;
164167 }
165168
166169 return win ;
You can’t perform that action at this time.
0 commit comments