src/Builder4/WindowState.vala
authorAlan Knowles <alan@roojs.com>
Thu, 26 Feb 2015 12:08:32 +0000 (20:08 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 26 Feb 2015 12:08:32 +0000 (20:08 +0800)
src/Builder4/WindowState.vala

index 70cea3e..e877974 100644 (file)
@@ -517,8 +517,19 @@ public class WindowState : Object
                  
                 
             case State.CODE:
+
+                this.code_editor.el.show_all();
+                
+                // caller needs to call editor - show....
+                this.win.rooview.el.save_easing_state();
+                // -- FIXME? this needs to be State aware?
+                _this.clutterembed.setSizesAlloc( "codeedit");
+                this.win.rooview.el.restore_easing_state();
+                
+
+                
                 this.win.codeeditview.el.save_easing_state();
-                this.win.codeeditview.el.set_scale(0.0f,0.0f);
+                this.win.codeeditview.el.set_scale(1.0f,1.0f);
                 this.win.codeeditview.el.restore_easing_state();    
                 break;