Skip to content

Commit

Permalink
Merge pull request ksky521#1 from jmxhyz/jmxhyz-patch-1
Browse files Browse the repository at this point in the history
可改变画笔颜色、粗细
  • Loading branch information
jmxhyz committed Aug 11, 2015
2 parents 2e8585e + a498e92 commit 39ae36d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions assets/js/nodeppt.control.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@
t.sendKeyEvent(67);
}).on('paint points', function(points) {
var data = {
pencolor: $doc.getElementById("drawBoard").context.strokeStyle, //画笔颜色
penlineWidth: $doc.getElementById("drawBoard").context.lineWidth, //画笔宽度
points: points,
screen: {
width: $doc.body.offsetWidth,
Expand Down

0 comments on commit 39ae36d

Please sign in to comment.