Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion core/trashcan.ts
Original file line number Diff line number Diff line change
Expand Up @@ -239,8 +239,13 @@ export class Trashcan
/** Initializes the trash can. */
init() {
if (this.workspace.options.maxTrashcanContents > 0) {
const flyoutDom = this.flyout!.createDom(Svg.SVG)!;
dom.addClass(
flyoutDom,
'blocklyTrashcanFlyout'
);
dom.insertAfter(
this.flyout!.createDom(Svg.SVG)!,
flyoutDom,
this.workspace.getParentSvg(),
);
this.flyout!.init(this.workspace);
Expand Down