Toggle navigation
Toggle navigation
此项目
正在载入...
Sign in
胡斌
/
liveAssistant_web_demo
转到一个项目
Toggle navigation
项目
群组
代码片段
帮助
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
胡斌
6 years ago
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
76056977a97c0840cd1f990a4a2ea3509aa37bc7
76056977
1 parent
5b67b90e
for Nenuba pen,use the original pressure value from the Nenula pen driver
隐藏空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
demo.html
demo.html
查看文件 @
7605697
...
...
@@ -376,13 +376,13 @@
x
=
px
*
ratio_x
;
y
=
py
*
ratio_y
;
if
(
last_ext_press
==
0
&&
press
==
1
){
if
(
last_ext_press
==
0
&&
press
!=
0
){
ctx
.
beginPath
();
ctx
.
moveTo
(
x
,
y
);
last_ext_press
=
1
;
}
else
if
(
press
==
1
)
{
else
if
(
press
!=
0
)
{
ctx
.
lineTo
(
x
,
y
);
ctx
.
stroke
();
}
...
...
请
注册
或
登录
后发表评论