12 Commits

Author SHA1 Message Date
Oscar Lorentzon
870561c607 Spot tag for visualizing centroid of geometry.
Render spot in DOM to keep orthograpic size when zooming.
2016-05-15 19:53:23 +02:00
Oscar Lorentzon
93ccd256cb Render DOM point at top left corner of created rect.
Abort geometry creation when clicking top left rect point.
Show larger abort indication on hover.
2016-05-12 10:22:32 +02:00
Oscar Lorentzon
48ff3eee57 Set edit elements color according to options. 2016-05-06 15:40:13 +02:00
Oscar Lorentzon
da1ed24135 Separate geometry from tag. 2016-05-06 14:58:09 +02:00
Oscar Lorentzon
ae46971abf Fire tag click events when clicking label. 2016-04-15 19:10:20 +02:00
Oscar Lorentzon
738c0877c1 Do not take pointer events on tag container element.
Remove unused CSS. Use duplicated CSS for mover and resizer classes
together.
2016-04-13 09:21:48 +02:00
Oscar Lorentzon
10a733fd02 Resize in all tag corners.
Base CSS positions on complete canvas instead of tag rect element.
2016-04-08 15:09:45 +02:00
Oscar Lorentzon
37092da09a Keep mover element at centroid of rectangle.
Add centroid property to tag class.
Use centroid to project in DOM renderer.
2016-04-08 14:19:17 +02:00
Oscar Lorentzon
124a7e48f2 Move tags.
Centered CSS element drifts in panos.
Tag operation enum for tracking how rect should be changed.
2016-04-07 17:42:53 +02:00
Oscar Lorentzon
dd27751e71 Show resizer on hover and make it a circle. 2016-04-06 19:50:26 +02:00
Oscar Lorentzon
1693635fa5 Move static tag styles to CSS.
Translate tag label to lower right corner of tag.
2016-04-06 14:41:09 +02:00
Pau Gargallo
1a1041db9a Hide DOM rects 2016-04-06 13:28:20 +02:00