[scribble] Fix accidental unminimizing after mouseover
[scribble] Don't show eraser cursor until mouse move
Fixes #95
The biggest change here is to only accept hexadecimal colors for the pen color. This is less than optimal, but unfortunately, it's easiest to catch and process this on the R side rather than the JavaScript side. I explored a few options, but we would have to bring in another JavaScript library to properly handle all of the many color format variations.
It's also not the worst inconvenience: instead of writing "rgb(61, 255, 232)", a user would need to write rgb(61, 255, 232, max = 255).
Fixes #95
The biggest change here is to only accept hexadecimal colors for the pen color. This is less than optimal, but unfortunately, it's easiest to catch and process this on the R side rather than the JavaScript side. I explored a few options, but we would have to bring in another JavaScript library to properly handle all of the many color format variations.
It's also not the worst inconvenience: instead of writing
"rgb(61, 255, 232)"
, a user would need to writergb(61, 255, 232, max = 255)
.