Skip to content

Commit 63a4df6

Browse files
authored
fix: fix bug that modalInputs option is not working in toolbox area (#8817)
1 parent df616e8 commit 63a4df6

3 files changed

Lines changed: 3 additions & 0 deletions

File tree

core/toolbox/toolbox.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -333,6 +333,7 @@ export class Toolbox
333333
'horizontalLayout': workspace.horizontalLayout,
334334
'renderer': workspace.options.renderer,
335335
'rendererOverrides': workspace.options.rendererOverrides,
336+
'modalInputs': workspace.options.modalInputs,
336337
'move': {
337338
'scrollbars': true,
338339
},

core/trashcan.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ export class Trashcan
110110
'oneBasedIndex': this.workspace.options.oneBasedIndex,
111111
'renderer': this.workspace.options.renderer,
112112
'rendererOverrides': this.workspace.options.rendererOverrides,
113+
'modalInputs': this.workspace.options.modalInputs,
113114
'move': {
114115
'scrollbars': true,
115116
},

core/workspace_svg.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -953,6 +953,7 @@ export class WorkspaceSvg extends Workspace implements IASTNodeLocationSvg {
953953
'horizontalLayout': this.horizontalLayout,
954954
'renderer': this.options.renderer,
955955
'rendererOverrides': this.options.rendererOverrides,
956+
'modalInputs': this.options.modalInputs,
956957
'move': {
957958
'scrollbars': true,
958959
},

0 commit comments

Comments
 (0)