mirror of
https://github.com/google/blockly.git
synced 2026-01-09 01:50:11 +01:00
fix: fix bug that modalInputs option is not working in toolbox area (#8817)
This commit is contained in:
@@ -333,6 +333,7 @@ export class Toolbox
|
||||
'horizontalLayout': workspace.horizontalLayout,
|
||||
'renderer': workspace.options.renderer,
|
||||
'rendererOverrides': workspace.options.rendererOverrides,
|
||||
'modalInputs': workspace.options.modalInputs,
|
||||
'move': {
|
||||
'scrollbars': true,
|
||||
},
|
||||
|
||||
@@ -110,6 +110,7 @@ export class Trashcan
|
||||
'oneBasedIndex': this.workspace.options.oneBasedIndex,
|
||||
'renderer': this.workspace.options.renderer,
|
||||
'rendererOverrides': this.workspace.options.rendererOverrides,
|
||||
'modalInputs': this.workspace.options.modalInputs,
|
||||
'move': {
|
||||
'scrollbars': true,
|
||||
},
|
||||
|
||||
@@ -953,6 +953,7 @@ export class WorkspaceSvg extends Workspace implements IASTNodeLocationSvg {
|
||||
'horizontalLayout': this.horizontalLayout,
|
||||
'renderer': this.options.renderer,
|
||||
'rendererOverrides': this.options.rendererOverrides,
|
||||
'modalInputs': this.options.modalInputs,
|
||||
'move': {
|
||||
'scrollbars': true,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user