更新左侧面板区影响列表配置,使其改变宽度时能正确影响上中下区的宽度,实现左侧面板区独占一列的布局
This commit is contained in:
@@ -221,18 +221,20 @@ export class LayoutCoordinator {
|
|||||||
// 影响数组:当某个面板大小变化时,会影响哪些其他面板
|
// 影响数组:当某个面板大小变化时,会影响哪些其他面板
|
||||||
influence: {
|
influence: {
|
||||||
left: [
|
left: [
|
||||||
{ position: 'center', property: 'width', influence: true }
|
{ position: 'top', property: 'width', influence: true },
|
||||||
|
{ position: 'center', property: 'width', influence: true },
|
||||||
|
{ position: 'bottom', property: 'width', influence: true }
|
||||||
],
|
],
|
||||||
right: [
|
right: [
|
||||||
{ position: 'center', property: 'width', influence: true }
|
{ position: 'top', property: 'width', influence: true },
|
||||||
|
{ position: 'center', property: 'width', influence: true },
|
||||||
|
{ position: 'bottom', property: 'width', influence: true }
|
||||||
],
|
],
|
||||||
top: [
|
top: [
|
||||||
{ position: 'center', property: 'height', influence: true },
|
{ position: 'center', property: 'height', influence: true }
|
||||||
{ position: 'right', property: 'height', influence: true }
|
|
||||||
],
|
],
|
||||||
bottom: [
|
bottom: [
|
||||||
{ position: 'center', property: 'height', influence: true },
|
{ position: 'center', property: 'height', influence: true }
|
||||||
{ position: 'right', property: 'height', influence: true }
|
|
||||||
],
|
],
|
||||||
center: []
|
center: []
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user