@genesis-community/golden-layout
Advanced tools
Comparing version 2.10.1 to 2.11.0
@@ -276,5 +276,7 @@ "use strict"; | ||
if (this.isMaximised) { | ||
this.layoutManager.tryDispatchEventToParent('minimised'); | ||
this.minimise(); | ||
} | ||
else { | ||
this.layoutManager.tryDispatchEventToParent('maximised'); | ||
this.maximise(); | ||
@@ -281,0 +283,0 @@ } |
@@ -273,5 +273,7 @@ import { ItemConfig } from '../config/config'; | ||
if (this.isMaximised) { | ||
this.layoutManager.tryDispatchEventToParent('minimised'); | ||
this.minimise(); | ||
} | ||
else { | ||
this.layoutManager.tryDispatchEventToParent('maximised'); | ||
this.maximise(); | ||
@@ -278,0 +280,0 @@ } |
{ | ||
"name": "@genesis-community/golden-layout", | ||
"version": "2.10.1", | ||
"version": "2.11.0", | ||
"description": "A @genesis-community fork of the GoldenLayout multi-screen javascript Layout manager", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -346,4 +346,6 @@ import { ComponentItemConfig, ItemConfig } from '../config/config'; | ||
if (this.isMaximised) { | ||
this.layoutManager.tryDispatchEventToParent('minimised'); | ||
this.minimise(); | ||
} else { | ||
this.layoutManager.tryDispatchEventToParent('maximised'); | ||
this.maximise(); | ||
@@ -350,0 +352,0 @@ } |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
2070892
34904