Skip to content

Commit

Permalink
fix: typo (#3274)
Browse files Browse the repository at this point in the history
  • Loading branch information
devlzl authored Jun 30, 2023
1 parent 55a2524 commit 0c09fd4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { isTransparent } from '../components/panel/color-panel.js';
import type { SelectionArea } from '../utils/selection-manager.js';
import { EdgelessToolController } from './index.js';

export class ShapeTooolController extends EdgelessToolController<ShapeTool> {
export class ShapeToolController extends EdgelessToolController<ShapeTool> {
readonly tool = <ShapeTool>{
type: 'shape',
shape: 'rect',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import { EraserToolController } from '../tool-controllers/eraser-tool.js';
import type { EdgelessToolController } from '../tool-controllers/index.js';
import { NoteToolController } from '../tool-controllers/note-tool.js';
import { PanToolController } from '../tool-controllers/pan-tool.js';
import { ShapeTooolController } from '../tool-controllers/shape-tool.js';
import { ShapeToolController } from '../tool-controllers/shape-tool.js';
import { TextToolController } from '../tool-controllers/text-tool.js';
import {
getSelectionBoxBound,
Expand Down Expand Up @@ -156,7 +156,7 @@ export class EdgelessSelectionManager extends AbstractSelectionManager<EdgelessP
this._controllers = {
default: new DefaultToolController(this.container),
text: new TextToolController(this.container),
shape: new ShapeTooolController(this.container),
shape: new ShapeToolController(this.container),
brush: new BrushToolController(this.container),
pan: new PanToolController(this.container),
note: new NoteToolController(this.container),
Expand Down

0 comments on commit 0c09fd4

Please sign in to comment.