Skip to content

Commit ef4e19f

Browse files
committed
fix:0 placeholder显示问题
1 parent 8ed6bb9 commit ef4e19f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/src/pen/render.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1017,7 +1017,7 @@ function drawText(ctx: CanvasRenderingContext2D, pen: Pen) {
10171017

10181018
if (
10191019
pen.input &&
1020-
!pen.text &&
1020+
isEmptyText(pen.text) &&
10211021
!(pen.calculative.canvas.inputDiv.dataset.penId === pen.id) &&
10221022
!pen.onShowInput
10231023
) {

0 commit comments

Comments
 (0)