ui: local zoom only in editor mode
This commit is contained in:
parent
fe6a8f7af2
commit
c916f5dd6a
2 changed files with 15 additions and 23 deletions
|
|
@ -733,3 +733,15 @@ osc-inspector-color {
|
|||
height: 30rem;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.editor-enabled {
|
||||
osc-panel-container.center {
|
||||
overflow: auto;
|
||||
background: var(--color-background);
|
||||
}
|
||||
#osc-container {
|
||||
transform-origin: 0 0;
|
||||
transform: scale(var(--local-zoom));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue