inspector: adaptive color picker size
This commit is contained in:
parent
2f38353483
commit
71cb7f6b55
2 changed files with 4 additions and 1 deletions
|
|
@ -107,6 +107,7 @@ class UiSidePanel extends UiWidget {
|
|||
updateWidth() {
|
||||
|
||||
this.container.style[this.vertical ? 'height' : 'width'] = this.width + 'rem'
|
||||
this.container.style.setProperty('--sidepanel-size', this.width + 'rem')
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue