From b7fb31f8f9decf0f663695e87b32d64e7d64b57c Mon Sep 17 00:00:00 2001 From: Taha <98838967+Taha-Hassan-Git@users.noreply.github.com> Date: Mon, 15 Jan 2024 13:41:48 +0000 Subject: [PATCH] fix typo in hideRotateHandle method (#2473) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit fix typo in hideRotateHandle method ### Change Type - [ ] `patch` — Bug fix - [ ] `minor` — New feature - [ ] `major` — Breaking change - [ ] `dependencies` — Changes to package dependencies[^1] - [x] `documentation` — Changes to the documentation only[^2] - [ ] `tests` — Changes to any test code only[^2] - [ ] `internal` — Any other changes that don't affect the published package[^2] - [ ] I don't know [^1]: publishes a `patch` release, for devDependencies use `internal` [^2]: will not publish a new version ### Test Plan 1. Add a step-by-step description of how to test your PR here. 2. - [ ] Unit Tests - [ ] End to end tests ### Release Notes - fix typo in hideRotateHandle method --- packages/editor/api/api.json | 2 +- packages/editor/src/lib/editor/shapes/ShapeUtil.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/editor/api/api.json b/packages/editor/api/api.json index f042653cb..12f7f36d7 100644 --- a/packages/editor/api/api.json +++ b/packages/editor/api/api.json @@ -30417,7 +30417,7 @@ { "kind": "Property", "canonicalReference": "@tldraw/editor!ShapeUtil#hideRotateHandle:member", - "docComment": "/**\n * Whether the shape should hide its resize handles when selected.\n *\n * @public\n */\n", + "docComment": "/**\n * Whether the shape should hide its rotation handles when selected.\n *\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", diff --git a/packages/editor/src/lib/editor/shapes/ShapeUtil.ts b/packages/editor/src/lib/editor/shapes/ShapeUtil.ts index 2661e130b..50aa1db18 100644 --- a/packages/editor/src/lib/editor/shapes/ShapeUtil.ts +++ b/packages/editor/src/lib/editor/shapes/ShapeUtil.ts @@ -150,7 +150,7 @@ export abstract class ShapeUtil { hideResizeHandles: TLShapeUtilFlag = () => false /** - * Whether the shape should hide its resize handles when selected. + * Whether the shape should hide its rotation handles when selected. * * @public */