File tree 2 files changed +7
-1
lines changed
2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ export {
21
21
toggleMainWindowShadeMode ,
22
22
windowsHaveBeenCentered ,
23
23
centerWindowsIfNeeded ,
24
+ resetWindowLayout ,
24
25
browserWindowSizeChanged
25
26
} from "./windows" ;
26
27
export {
Original file line number Diff line number Diff line change @@ -10,7 +10,8 @@ import {
10
10
TOGGLE_WINDOW_SHADE_MODE ,
11
11
SET_WINDOW_VISIBILITY ,
12
12
WINDOWS_HAVE_BEEN_CENTERED ,
13
- BROWSER_WINDOW_SIZE_CHANGED
13
+ BROWSER_WINDOW_SIZE_CHANGED ,
14
+ RESET_WINDOW_LAYOUT
14
15
} from "../actionTypes" ;
15
16
16
17
import { getPositionDiff , SizeDiff } from "../resizeUtils" ;
@@ -188,6 +189,10 @@ export function browserWindowSizeChanged() {
188
189
return { type : BROWSER_WINDOW_SIZE_CHANGED , height, width } ;
189
190
}
190
191
192
+ export function resetWindowLayout ( ) : Dispatchable {
193
+ return { type : RESET_WINDOW_LAYOUT } ;
194
+ }
195
+
191
196
export function ensureWindowsAreOnScreen ( ) : Dispatchable {
192
197
return ( dispatch , getState ) => {
193
198
const state = getState ( ) ;
You can’t perform that action at this time.
0 commit comments