feat(panel fullscreen): completly changed how the fullscreen view/edit works, no longer uses css fixed position, yay, closes #2779

This commit is contained in:
Torkel Ödegaard
2015-09-19 11:40:51 +02:00
parent bffb795d7a
commit 86f4907cc4
10 changed files with 38 additions and 69 deletions
-8
View File
@@ -17,14 +17,6 @@ function (_, $, coreModule) {
$("#tooltip, .tooltip").remove();
});
$scope.$watch('submenuEnabled', function() {
if (!$scope.dashboard) {
return;
}
elem.toggleClass('submenu-controls-visible', $scope.submenuEnabled);
});
$scope.$watch('dashboard.hideControls', function() {
if (!$scope.dashboard) {
return;
@@ -54,8 +54,6 @@ function ($, coreModule) {
hideEditorPane();
scope.exitFullscreen();
lastEditor = payload.src;
editorScope = payload.scope ? payload.scope.$new() : scope.$new();