Last active
December 18, 2015 00:49
-
-
Save moyashipan/5699526 to your computer and use it in GitHub Desktop.
Patch for Chrome (ver. 27.0.1453.94 m) Bug.
Cannot draw a 1px-width line on CANVAS.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// See: http://www.pixiv.net/group/comment.php?id=747934 | |
pixiv.ui.DrawrPainter.prototype.widthList = [0.9, 2, 4, 6, 10, 15, 30]; | |
alert("pixivグループお絵描きツールの\n一番細い線を0.9pxに設定しました"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment