ide: Make Escape in CodeEditor only fill up space if a ProjectView is opened
authorJerome St-Louis <jerome@ecere.com>
Thu, 10 Jul 2014 10:41:01 +0000 (06:41 -0400)
committerJerome St-Louis <jerome@ecere.com>
Thu, 10 Jul 2014 10:41:01 +0000 (06:41 -0400)
ide/src/ide.ec

index 3a90fc8..82b58e4 100644 (file)
@@ -1779,7 +1779,8 @@ class IDEWorkSpace : Window
                   anchor.left = (sheet.visible || (projectView && projectView.visible)) ? 300 : 0;
                   anchor.right = toolBoxVisible ? 150 : 0;
                }
-               child.anchor = anchor;
+               if(ide.projectView)
+                  child.anchor = anchor;
             }
             else if(expand)
             {