Implemented pixel grid

Added settings for pixel grid, move settings to editor sub menu.
This commit is contained in:
unsettledgames
2020-09-26 12:32:31 +02:00
parent 034715fac8
commit 933b2919b4
3 changed files with 53 additions and 5 deletions

View File

@ -305,11 +305,17 @@ svg {
background: transparent;
}
#tmp-canvas {
#pixel-grid {
z-index: 3;
background: transparent;
}
#tmp-canvas {
z-index: 4;
background: transparent;
}
#vfx-canvas {
z-index: -5000;
background: transparent;
@ -855,9 +861,11 @@ svg {
color: #c0bfc1;
}
#settings-container {
.settings-entry {
display: flex;
align-items: baseline;
margin-top:10px;
label {
flex: 1;
}
@ -865,6 +873,7 @@ svg {
width: 90px !important;
display: block;
box-sizing: border-box;
float:right;
}
}