{"action":"closed","issue":{"url":"https://api.github.com/repos/paperjs/paper.js/issues/844","labels_url":"https://api.github.com/repos/paperjs/paper.js/issues/844/labels{/name}","comments_url":"https://api.github.com/repos/paperjs/paper.js/issues/844/comments","events_url":"https://api.github.com/repos/paperjs/paper.js/issues/844/events","html_url":"https://github.com/paperjs/paper.js/issues/844","id":120172891,"number":844,"title":"strokeWidth issue on refresh","user":{"login":"tejasdesai","id":6938686,"avatar_url":"https://avatars.githubusercontent.com/u/6938686?v=3","gravatar_id":"","url":"https://api.github.com/users/tejasdesai","html_url":"https://github.com/tejasdesai","followers_url":"https://api.github.com/users/tejasdesai/followers","following_url":"https://api.github.com/users/tejasdesai/following{/other_user}","gists_url":"https://api.github.com/users/tejasdesai/gists{/gist_id}","starred_url":"https://api.github.com/users/tejasdesai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tejasdesai/subscriptions","organizations_url":"https://api.github.com/users/tejasdesai/orgs","repos_url":"https://api.github.com/users/tejasdesai/repos","events_url":"https://api.github.com/users/tejasdesai/events{/privacy}","received_events_url":"https://api.github.com/users/tejasdesai/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-12-03T13:37:38Z","updated_at":"2015-12-27T15:21:23Z","closed_at":"2015-12-27T15:21:23Z","body":"I have used paperjs in my application. To draw a line, I have used following code:\r\n````\r\nfunction onMouseDown(event) {\r\nvar path = new Path({\r\n        segments: [event.point],\r\n\tstrokeColor: 'black',\r\n\tstrokeWidth: 20\r\n});\r\n}\r\n\r\nfunction onMouseDrag(event) {\r\n\tpath.add(event.point);\r\n}\r\n\r\n````\r\nIt draws a line with proper stroke width. PFA screenshot for the same:\r\n![screenshot from 2015-12-03 19 04 46](https://cloud.githubusercontent.com/assets/6938686/11561943/c0a3ebde-99f0-11e5-975e-1c26098d5f2d.png)\r\n\r\nHowever, on refresh of the page, the stroke width decreases. PFA screenshot for the same:\r\n![screenshot from 2015-12-03 19 06 06](https://cloud.githubusercontent.com/assets/6938686/11561975/ee9b2ca0-99f0-11e5-93d8-51693de9977a.png)\r\n\r\n\r\nCan someone please help me on this?"}}