mirror of
https://github.com/scratchfoundation/scratch-blocks.git
synced 2025-08-02 01:02:12 -04:00
Use the main workspaces stack glow filter for both flyout and toolbox
This fixes the stack glow filter not existing for both the "simple" and "category" modes of the workspace.
This commit is contained in:
parent
df6b7208fb
commit
88383d0998
2 changed files with 4 additions and 2 deletions
|
@ -161,7 +161,8 @@ Blockly.Toolbox.prototype.createFlyout_ = function() {
|
|||
RTL: workspace.RTL,
|
||||
oneBasedIndex: workspace.options.oneBasedIndex,
|
||||
horizontalLayout: workspace.horizontalLayout,
|
||||
toolboxPosition: workspace.options.toolboxPosition
|
||||
toolboxPosition: workspace.options.toolboxPosition,
|
||||
stackGlowFilterId: workspace.options.stackGlowFilterId
|
||||
};
|
||||
|
||||
if (workspace.horizontalLayout) {
|
||||
|
|
|
@ -589,7 +589,8 @@ Blockly.WorkspaceSvg.prototype.addFlyout_ = function(tagName) {
|
|||
RTL: this.RTL,
|
||||
oneBasedIndex: this.options.oneBasedIndex,
|
||||
horizontalLayout: this.horizontalLayout,
|
||||
toolboxPosition: this.options.toolboxPosition
|
||||
toolboxPosition: this.options.toolboxPosition,
|
||||
stackGlowFilterId: this.options.stackGlowFilterId
|
||||
};
|
||||
if (this.horizontalLayout) {
|
||||
this.flyout_ = new Blockly.HorizontalFlyout(workspaceOptions);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue