src/Builder4/WindowState.vala
authorAlan Knowles <alan@roojs.com>
Thu, 26 Feb 2015 11:50:53 +0000 (19:50 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 26 Feb 2015 11:50:53 +0000 (19:50 +0800)
src/Builder4/WindowState.vala

index 1f20a62..3c1a88e 100644 (file)
@@ -432,19 +432,27 @@ public class WindowState : Object
         }
 
         switch (this.state) {
+            
            case State.LISTENER:
            case State.PROP:
                 this.addpropsview.el.save_easing_state();
-                
                 this.addpropsview.el.set_scale(0.0f,0.0f);
-                
                 this.win.addpropsview.el.restore_easing_state();   
-        
+                break;
+                
+            case State.CODE:
+                this.win.codeeditview.el.save_easing_state();
+                this.win.codeeditview.el.set_scale(0.0f,0.0f);
+                this.win.codeeditview.el.restore_easing_state();    
                 break;
 
 
-         
+             case State.OBJECT:
+                this.win.objectview.el.save_easing_state();
+                this.win.objectview.el.set_scale(0.0f,0.0f);
+                this.win.objectview.el.restore_easing_state();    
+                break;
+                    
         
         this.state = new_state;