ソースを参照

fixed panel menu while in fullscreen mode

Torkel Ödegaard 10 年 前
コミット
021c6ac1cb
1 ファイル変更3 行追加0 行削除
  1. 3 0
      public/app/features/panel/panelMenu.js

+ 3 - 0
public/app/features/panel/panelMenu.js

@@ -155,6 +155,9 @@ function (angular, $, _) {
               if (panelLeftPos + menuLeftPos < 0) {
               if (panelLeftPos + menuLeftPos < 0) {
                 menuLeftPos = 0;
                 menuLeftPos = 0;
               }
               }
+              if ($scope.fullscreen) {
+                menuHeight = -(menuHeight/2);
+              }
 
 
               $menu.css({'left': menuLeftPos, top: -menuHeight});
               $menu.css({'left': menuLeftPos, top: -menuHeight});
             });
             });