Commit b3f4ff28 authored by Christian Winter's avatar Christian Winter

prefabs not dev any more. styling

parent b5360aed
Pipeline #5065814 passed with stage
in 1 minute and 28 seconds
......@@ -103,7 +103,8 @@ div {
#prefabarea {
position: absolute;
left: 220px;
width: 300px;
width: 250px;
border-left:1px solid black;
}
#sceneView {
......
......@@ -220,7 +220,7 @@
</div>
<div id="prefabarea" class="toolarea">
<div id="prefabList">
<div class="toolcategory dev">
<div class="toolcategory">
<p class="foldingHeader">Prefabs</p>
<div class="toolcategorycontainer">
<button type="button" onclick="PrefabManager.createNewPrefab()">Create new Prefab</button>
......
......@@ -116,15 +116,10 @@
let topLeft = Vector2.zero;
let size = Vector2.zero;
size.x = window.innerWidth - leftarea.offsetWidth - rightarea.offsetWidth;
if (Preferences.developerMode)
size.x += -prefabarea.offsetWidth;
size.x = window.innerWidth - leftarea.offsetWidth - rightarea.offsetWidth -prefabarea.offsetWidth;
size.y = window.innerHeight - GUI.menubar.offsetHeight - GUI.statusbar.offsetHeight;
topLeft.x = leftarea.offsetWidth
if (Preferences.developerMode)
topLeft.x += prefabarea.offsetWidth;
topLeft.x = leftarea.offsetWidth + prefabarea.offsetWidth
this.sceneView.canvas.style.left = topLeft.x;
this.sceneView.canvas.width = size.x;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment