瀏覽代碼

[assist] Fix wonky inner panel layout

Johan Ahlen 9 年之前
父節點
當前提交
c7de85a
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      desktop/core/src/desktop/static/desktop/js/ko.hue-bindings.js

+ 1 - 1
desktop/core/src/desktop/static/desktop/js/ko.hue-bindings.js

@@ -1198,7 +1198,7 @@
       if (totalRatios !== 1) {
         var diff = 1 / totalRatios;
         $.each(panelDefinitions(), function (idx, panel) {
-          totalRatios[panel.type] = totalRatios[panel.type] * diff;
+          panelRatios[panel.type] = panelRatios[panel.type] * diff;
         });
       }