Skip to content

Commit

Permalink
fix: text can't be hit select
Browse files Browse the repository at this point in the history
  • Loading branch information
F-star committed Nov 30, 2024
1 parent d516bbc commit 6356a61
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/core/src/graphics/text.ts
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,10 @@ export class SuikaText extends SuikaGraphics<TextAttrs> {
return this.getGlyphs().length - 1;
}

protected override isFillShouldRender() {
return true;
}

getCursorIndex(point: IPoint) {
point = applyInverseMatrix(this.attrs.transform, point);
const glyphs = this.getGlyphs();
Expand Down

0 comments on commit 6356a61

Please sign in to comment.