annotorious / annotorious-v1

Project has moved to http://github.com/annotorious/annotorious
https://annotorious.com
MIT License
593 stars 142 forks source link

Fixed geometry differences between selection and saved annotation #99

Closed ravishivt closed 10 years ago

ravishivt commented 10 years ago

Removed the minus 1 calculation to width and height when a selection is saved.

Use the drawShape function to draw selections so there isn’t different drawing code between selecting a new annotation and drawing an existing one.

Only use lineJoin = “round” for the outline. A rounded stroke inside the outline looks bad.

rsimon commented 10 years ago

Tested it & looks excellent. Many thanks again!