jtanadi / scotty

WebSocket-enabled PDF viewer
http://raa-scotty.herokuapp.com/
MIT License
15 stars 1 forks source link

Pointer broadcasting should be limited to within PDF page #53

Closed jtanadi closed 4 years ago

jtanadi commented 4 years ago

Will be easier to handle if mouse location can be bounded by image (otherwise it's hard to reconcile between multiple users' different window proportions)

jtanadi commented 4 years ago

How would this affect #43? Would doodles be limited to page dims only?

jtanadi commented 4 years ago

Another idea: measure pointer positions outwards from the absolute center of window.innerWidth and window.innerHeight?