mirror of
https://github.com/google/blockly.git
synced 2026-01-11 02:47:09 +01:00
feat: Added blocklyTrashcanFlyout CSS class (#8372)
* feat: Add blocklyTrashcanFlyout class * Fixed formatting issues * fix: versioning reverted to original * fix: prettier version resolved * fix: clean installation
This commit is contained in:
@@ -239,10 +239,9 @@ export class Trashcan
|
||||
/** Initializes the trash can. */
|
||||
init() {
|
||||
if (this.workspace.options.maxTrashcanContents > 0) {
|
||||
dom.insertAfter(
|
||||
this.flyout!.createDom(Svg.SVG)!,
|
||||
this.workspace.getParentSvg(),
|
||||
);
|
||||
const flyoutDom = this.flyout!.createDom(Svg.SVG)!;
|
||||
dom.addClass(flyoutDom, 'blocklyTrashcanFlyout');
|
||||
dom.insertAfter(flyoutDom, this.workspace.getParentSvg());
|
||||
this.flyout!.init(this.workspace);
|
||||
}
|
||||
this.workspace.getComponentManager().addComponent({
|
||||
|
||||
2749
package-lock.json
generated
2749
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user