Skip to content

Commit

Permalink
ink api code fix (#37175)
Browse files Browse the repository at this point in the history
presenter code fix
  • Loading branch information
gagan-bhullar-tech authored Dec 12, 2024
1 parent 7c2a91a commit 2d78f62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion files/en-us/web/api/ink_api/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ canvas.addEventListener("pointermove", async (evt) => {
`rgb(${r} ${g} ${b} / 60%)`;
}
move_cnt += 1;
await presenter.updateInkTrailStartPoint(evt, style);
(await presenter).updateInkTrailStartPoint(evt, style);
});

window.addEventListener("pointerdown", () => {
Expand Down

0 comments on commit 2d78f62

Please sign in to comment.