Skip to content

Commit

Permalink
Merge branch 'AndreaGon-patch-26'
Browse files Browse the repository at this point in the history
  • Loading branch information
walterbender committed Jan 23, 2020
2 parents 5b1de94 + 16bf404 commit 2adfbb4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 16 deletions.
15 changes: 0 additions & 15 deletions js/widgets/meterwidget.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,21 +54,6 @@ function MeterWidget() {
this.destroy();
}

widgetWindow.onmaximize = function(){
if(widgetWindow._maximized){
widgetWindow.getWidgetBody().style.position = "absolute";
widgetWindow.getWidgetBody().style.height = "calc(100vh - 80px)";
widgetWindow.getWidgetBody().style.width = "200vh";
widgetWindow.getWidgetBody().style.left = "70px";

} else{
widgetWindow.getWidgetBody().style.position = "relative";
widgetWindow.getWidgetBody().style.left = "0px";
widgetWindow.getWidgetBody().style.height = "410px";
widgetWindow.getWidgetBody().style.width = "410px";
}
}


this._click_lock = false;
widgetWindow.addButton('play-button.svg', ICONSIZE, _('Play')).onclick = function() {
Expand Down
2 changes: 1 addition & 1 deletion js/widgets/widgetWindows.js
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ function WidgetWindow(key, title) {
};

this.onmaximize = function() {
this.maximize();
return this;
};

this.setPosition = function (x, y) {
Expand Down

0 comments on commit 2adfbb4

Please sign in to comment.