mirror of
https://github.com/google/blockly.git
synced 2026-01-08 09:30:06 +01:00
fix: Fix bug that caused blocks dragged from non-primary flyouts to be misplaced. (#8753)
* fix: Fix bug that caused blocks dragged from non-primary flyouts to be misplaced. * chore: Fix docstring.
This commit is contained in:
@@ -678,7 +678,7 @@ export abstract class Flyout
|
||||
const type = info['kind'].toLowerCase();
|
||||
const inflater = this.getInflaterForType(type);
|
||||
if (inflater) {
|
||||
contents.push(inflater.load(info, this.getWorkspace()));
|
||||
contents.push(inflater.load(info, this));
|
||||
const gap = inflater.gapForItem(info, defaultGap);
|
||||
if (gap) {
|
||||
contents.push(
|
||||
|
||||
Reference in New Issue
Block a user