small fix for png width error when resize in edit mode / fullscreen mode

This commit is contained in:
Torkel Ödegaard 2014-02-05 15:13:24 +01:00
parent e3561ce555
commit 73c5883f0d

View File

@ -59,6 +59,10 @@ function (angular, $, kbn, moment, _) {
function render_panel() {
if (!data) { return; }
if ($rootScope.fullscreen && !scope.fullscreen) {
return;
}
if (!setElementHeight()) { return; }
if (_.isString(data)) {