Skip to content

Commit

Permalink
fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
xianjimli committed Nov 30, 2024
1 parent c1d1055 commit 0dbd6be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/how_to_use_multi_touch_event.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ x/y 在 0-1 之间,表示与屏幕宽/高度的比例,这个和 SDL 传上

## 三,注册多点触摸事件

触摸事件只放给当前的窗口,所以需要在窗口上注册触摸事件。
触摸事件只发给当前的窗口,所以需要在窗口上注册触摸事件。

```c
widget_on(win, EVT_TOUCH_DOWN, on_touch_down, win);
Expand Down

0 comments on commit 0dbd6be

Please sign in to comment.