mirror of
https://github.com/google/blockly.git
synced 2026-05-03 02:20:12 +02: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:
+3
-4
@@ -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({
|
||||
|
||||
Generated
+1307
-1442
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user