Skip to content

Commit 39ae36d

Browse files
committed
Merge pull request ksky521#1 from jmxhyz/jmxhyz-patch-1
可改变画笔颜色、粗细
2 parents 2e8585e + a498e92 commit 39ae36d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

assets/js/nodeppt.control.js

+2
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@
4040
t.sendKeyEvent(67);
4141
}).on('paint points', function(points) {
4242
var data = {
43+
pencolor: $doc.getElementById("drawBoard").context.strokeStyle, //画笔颜色
44+
penlineWidth: $doc.getElementById("drawBoard").context.lineWidth, //画笔宽度
4345
points: points,
4446
screen: {
4547
width: $doc.body.offsetWidth,

0 commit comments

Comments
 (0)