From 5598a6be7680c2e44a0e44abd177f4d73093e543 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Fri, 27 Feb 2015 16:41:23 +0800 Subject: [PATCH] src/Builder4/WindowState.vala --- src/Builder4/WindowState.vala | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/src/Builder4/WindowState.vala b/src/Builder4/WindowState.vala index 9298adea8..1c319bdce 100644 --- a/src/Builder4/WindowState.vala +++ b/src/Builder4/WindowState.vala @@ -485,8 +485,9 @@ public class WindowState : Object this.win.rooview.el.set_rotation_angle(Clutter.RotateAxis.Y_AXIS, 0.0f); this.win.rooview.el.set_scale(1.0f,1.0f); this.win.rooview.el.restore_easing_state(); + this.clutterfiles.el.hide(); + - this.clutterfiles.el.hide(); break; @@ -501,6 +502,11 @@ public class WindowState : Object switch (this.state) { case State.PREVIEW: // this is the default state when working... + this.win.editpane.el.show(); // holder for tree and properties.. + + this.left_projects.el.hide(); + + this.win.rooview.el.save_easing_state(); this.win.rooview.el.set_scale(1.0f,1.0f); this.win.rooview.el.restore_easing_state(); @@ -679,7 +685,13 @@ public class WindowState : Object this.win.addpropbutton.el.show(); this.win.addlistenerbutton.el.show(); break; - + + case State.PROJECT: + // anything else? + this.win.backbutton.el.show(); + break; + + case State.FILES: this.win.backbutton.el.show(); -- 2.39.2