mirror of
https://github.com/google/blockly.git
synced 2026-01-06 08:30:13 +01:00
chore(deps): Bump prettier from 2.8.8 to 3.0.0 (#7322)
* chore(deps): Bump prettier from 2.8.8 to 3.0.0 Bumps [prettier](https://github.com/prettier/prettier) from 2.8.8 to 3.0.0. - [Release notes](https://github.com/prettier/prettier/releases) - [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md) - [Commits](https://github.com/prettier/prettier/compare/2.8.8...3.0.0) --- updated-dependencies: - dependency-name: prettier dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * chore: Reformat using Prettier v3.0 defaults The main change is to add trailing commas to the last line of block-formatted function calls. --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Christopher Allen <cpcallen+git@google.com>
This commit is contained in:
@@ -59,7 +59,7 @@ export class VerticalFlyout extends Flyout {
|
||||
}
|
||||
this.workspace_.translate(
|
||||
this.workspace_.scrollX + absoluteMetrics.left,
|
||||
this.workspace_.scrollY + absoluteMetrics.top
|
||||
this.workspace_.scrollY + absoluteMetrics.top,
|
||||
);
|
||||
}
|
||||
|
||||
@@ -167,7 +167,7 @@ export class VerticalFlyout extends Flyout {
|
||||
0,
|
||||
atRight ? 0 : 1,
|
||||
atRight ? -this.CORNER_RADIUS : this.CORNER_RADIUS,
|
||||
this.CORNER_RADIUS
|
||||
this.CORNER_RADIUS,
|
||||
);
|
||||
// Side closest to workspace.
|
||||
path.push('v', Math.max(0, height));
|
||||
@@ -180,7 +180,7 @@ export class VerticalFlyout extends Flyout {
|
||||
0,
|
||||
atRight ? 0 : 1,
|
||||
atRight ? this.CORNER_RADIUS : -this.CORNER_RADIUS,
|
||||
this.CORNER_RADIUS
|
||||
this.CORNER_RADIUS,
|
||||
);
|
||||
// Bottom.
|
||||
path.push('h', atRight ? width : -width);
|
||||
@@ -253,7 +253,7 @@ export class VerticalFlyout extends Flyout {
|
||||
this.RTL ? moveX - blockHW.width : moveX,
|
||||
cursorY,
|
||||
blockHW,
|
||||
i
|
||||
i,
|
||||
);
|
||||
|
||||
this.addBlockListeners_(root, block!, rect);
|
||||
@@ -386,7 +386,7 @@ export class VerticalFlyout extends Flyout {
|
||||
// (ie toolbox edge).
|
||||
this.targetWorkspace!.translate(
|
||||
this.targetWorkspace!.scrollX + flyoutWidth,
|
||||
this.targetWorkspace!.scrollY
|
||||
this.targetWorkspace!.scrollY,
|
||||
);
|
||||
}
|
||||
this.width_ = flyoutWidth;
|
||||
@@ -399,5 +399,5 @@ export class VerticalFlyout extends Flyout {
|
||||
registry.register(
|
||||
registry.Type.FLYOUTS_VERTICAL_TOOLBOX,
|
||||
registry.DEFAULT,
|
||||
VerticalFlyout
|
||||
VerticalFlyout,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user