Explorar o código

fixed panel menu while in fullscreen mode

Torkel Ödegaard %!s(int64=10) %!d(string=hai) anos
pai
achega
021c6ac1cb
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  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) {
                 menuLeftPos = 0;
               }
+              if ($scope.fullscreen) {
+                menuHeight = -(menuHeight/2);
+              }
 
               $menu.css({'left': menuLeftPos, top: -menuHeight});
             });