Commit b85b5e00 by Torkel Ödegaard

fix(): fixed panel resize and fullscreen panel height issue

parent 9d6445d4
...@@ -45,7 +45,7 @@ export class PanelCtrl { ...@@ -45,7 +45,7 @@ export class PanelCtrl {
} }
$scope.$on("refresh", () => this.refresh()); $scope.$on("refresh", () => this.refresh());
$scope.$on("render", () => this.calculatePanelHeight()); $scope.$on("render", () => this.render());
} }
init() { init() {
...@@ -149,6 +149,7 @@ export class PanelCtrl { ...@@ -149,6 +149,7 @@ export class PanelCtrl {
return; return;
} }
this.calculatePanelHeight();
this.events.emit('render', payload); this.events.emit('render', payload);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment