dmvaldman on master
Update README.md (compare)
dmvaldman on master
Fix spaces (compare)
dmvaldman on master
Upgrade eslint version due to s… (compare)
dmvaldman on noqueue
Fix typo End event happens on different … Locking seems to be working and 2 more (compare)
Surface
is in a ContainerSurface
that doesn't also have roundToPixel = true
then the text may still be blurry
event.preventDefault
. but maybe i'm missing something
event.stopPropagation()
must also be called in addition to event.preventDefault()
10px
, you'd have a margin of [10,10]
and an origin
of [.5,.5]
origin
was [0,.5]
then the surface would be flush on the left side, have 20px of extra space on the right, and be vertically centered (10px above and below)
origin
defaults to [0,0]
you're getting twice the margins on the right and bottom
margin
to cause no translation. Typically a margin
of [10,10,10,10]
would imply reducing the width and height of a rectangle by 20px and translate it down and to the right by 10px. Unfortunately the way the code works is that "moving" and "reducing the size of" are two different code paths internally
MouseInput
doesn't have a reference to the surface
you're right