src/Builder4/WindowState.vala
authorAlan Knowles <alan@roojs.com>
Sat, 28 Feb 2015 10:36:09 +0000 (18:36 +0800)
committerAlan Knowles <alan@roojs.com>
Sat, 28 Feb 2015 10:36:09 +0000 (18:36 +0800)
src/Builder4/WindowState.vala

index 100f3fa..4f3fbc7 100644 (file)
@@ -655,7 +655,7 @@ public class WindowState : Object
                     this.left_projects.selectProject(this.win.project);
                 }
              
-                this.win.rooview.restore_easing_state();
+                this.win.rooview.el.restore_easing_state();
                 
                 this.clutterfiles.el.show_all();
                 this.clutterfiles.el.save_easing_state();
@@ -817,9 +817,13 @@ public class WindowState : Object
                 this.clutterfiles.set_size(alloc.width-50, alloc.height);
                 break;
 
-            case State.PROJECT: 
+            case State.PROJECT:
+            
                 this.win.projecteditview.el.set_size(alloc.width-50, alloc.height / 2.0f);
+               
+               this.win.rooview.el.save_easing_state();
                this.win.rooview.el.set_size(alloc.width / 2.0f, alloc.height / 2.0f);
+               this.win.rooview.el.restore_easing_state();
                 break;
 
             case State.CODE: