Browse Source

minor css fixes

Nicolas Cannasse 5 years ago
parent
commit
5aa1d0ded8
5 changed files with 10 additions and 5 deletions
  1. 3 1
      bin/cdb.css
  2. 4 1
      bin/cdb.less
  3. 0 1
      bin/style.css
  4. 1 1
      bin/style.less
  5. 2 1
      hide/comp/SceneEditor.hx

+ 3 - 1
bin/cdb.css

@@ -1,9 +1,11 @@
 .cdb-view > .hide-tabs > .tab > ::-webkit-scrollbar {
   width: 12px;
 }
+.cdb-view .cdb {
+  margin-bottom: 350px;
+}
 .cdb {
   background-color: black;
-  margin-bottom: 350px;
 }
 .cdb:focus {
   outline: none;

+ 4 - 1
bin/cdb.less

@@ -2,10 +2,13 @@
 	width: 12px;
 }
 
+.cdb-view .cdb {
+	margin-bottom: 350px;
+}
+
 .cdb {
 
 	background-color : black;
-	margin-bottom: 350px;
 
 	&:focus {
 		outline: none;

+ 0 - 1
bin/style.css

@@ -485,7 +485,6 @@ input[type=checkbox]:checked:after {
 }
 /* Properties */
 .hide-properties {
-  flex: 0 0 300px;
   padding: 10px;
   overflow: auto;
   padding-bottom: 80px;

+ 1 - 1
bin/style.less

@@ -523,7 +523,7 @@ input[type=checkbox] {
 /* Properties */
 
 .hide-properties {
-	flex : 0 0 300px;
+	//flex : 0 0 300px;
 	padding:10px;
 	overflow:auto;
 	padding-bottom:80px;

+ 2 - 1
hide/comp/SceneEditor.hx

@@ -391,7 +391,8 @@ class SceneEditor {
 		gizmo = new hide.view.l3d.Gizmo(scene);
 		gizmo.moveStep = view.config.get("sceneeditor.gridSnapStep");
 
-		gizmo2d = new hide.view.l3d.Gizmo2D(scene.s2d);
+		gizmo2d = new hide.view.l3d.Gizmo2D();
+		scene.s2d.add(gizmo2d, 1); // over local3d
 
 		cameraController = makeCamController();
 		cameraController.onClick = function(e) {