Skip to content

Commit

Permalink
fix: no trigger toolbox block deletion style
Browse files Browse the repository at this point in the history
  • Loading branch information
zfangqijun committed Jul 23, 2024
1 parent f246adb commit 0aae369
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/flyout_vertical.ts
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ export class VerticalFlyout extends Flyout {

if (this.toolboxPosition_ === toolbox.Position.LEFT) {
const width = flyoutRect.width;
return new Rect(-BIG_NUM, BIG_NUM, -BIG_NUM, left + width);
return new Rect(-BIG_NUM, BIG_NUM, left, left + width);
} else {
// Right
return new Rect(-BIG_NUM, BIG_NUM, left, BIG_NUM);
Expand Down

0 comments on commit 0aae369

Please sign in to comment.