Skip to main content

Timeline for Create a Paint program!

Current License: CC BY-SA 3.0

11 events
when toggle format what by license comment
Apr 23, 2017 at 8:06 comment added wizzwizz4 @Anoplexian That's a known issue; there's no reliable way to get the relative position of the mouse cursor on an element (short of large, browser-specific functions that fail when a new type of CSS padding is introduced).
Apr 22, 2017 at 10:38 comment added Shaggy That seems to be something particular to Stack Snippets; if you give it a try on JSFiddle, for example, it'll work.
Apr 22, 2017 at 10:10 comment added Tom @Shaggy Thanks for both the suggestions, but dropping the > from the html didn't seem to work.
Apr 22, 2017 at 10:10 history edited Tom CC BY-SA 3.0
added 274 characters in body
Apr 22, 2017 at 6:37 comment added Shaggy And you can save a 3rd bytes by omitting the closing > from your HTML.
Apr 22, 2017 at 1:48 comment added numbermaniac How do I make this work? I'm clicking in the result area and it's not doing anything.
Apr 21, 2017 at 23:15 comment added Shaggy Save 2 bytes by dropping the c. from the start of your JS. @Anoplexian, that's the default body margin throwing things off by a few pixels.
Apr 21, 2017 at 20:33 comment added Anoplexian This actually puts the dot not where my cursor goes, but to the bottom right of the arrow. Is this intentional?
Apr 21, 2017 at 19:02 history edited Tom CC BY-SA 3.0
added 64 characters in body
Apr 21, 2017 at 18:36 comment added Gustavo Rodrigues How about <canvas id=c>?
Apr 21, 2017 at 10:13 history answered Tom CC BY-SA 3.0