File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed
Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -998,6 +998,14 @@ export class Panel extends EventSystem {
998998 if ( this . node . clientHeight ) {
999999 this . container . style . setProperty ( '--main-panel-height' , this . node . clientHeight + 'px' ) ;
10001000 }
1001+
1002+ // Update child panels
1003+ for ( let panel of this . getAttachedPanels ( ) ) {
1004+ panel . width = this . width ;
1005+ panel . height = this . height ;
1006+ if ( panel . onResize ) panel . onResize ( ) ;
1007+ }
1008+
10011009 if ( Panels [ this . id ] && this . onResize ) this . onResize ( )
10021010 } else {
10031011 this . container . classList . add ( 'hidden' ) ;
Original file line number Diff line number Diff line change @@ -2523,7 +2523,7 @@ Interface.definePanels(function() {
25232523 if ( Format . image_editor ) {
25242524 this . height = Interface . preview . clientHeight - 38 ;
25252525
2526- } else if ( Panels . uv . slot . includes ( '_bar' ) && ! UVEditor . panel . fixed_height ) {
2526+ } else if ( Panels . uv . getContainerPanel ( ) . slot . includes ( '_bar' ) && ! UVEditor . panel . fixed_height ) {
25272527 this . height = size ;
25282528
25292529 } else {
You can’t perform that action at this time.
0 commit comments