Commit Graph

14 Commits

Author SHA1 Message Date
John Firebaugh 994161d08c Disable hover when panning (fixes #1550) 2013-06-17 17:05:50 -07:00
John Firebaugh 2722294cec Don't trigger hover events on nonentities 2013-06-17 15:43:51 -07:00
John Firebaugh 82a4f9c366 Avoid duplicate hover events 2013-06-04 18:33:23 -07:00
John Firebaugh c68635062c Fix sidebar UI behaviors
* Restore preset search autofocus (fixes #1566)
* Should show hover in draw modes, not preset list
2013-06-03 16:28:30 -07:00
John Firebaugh 884d2d0732 Add hover indicator in sidebar 2013-05-26 14:07:10 -07:00
John Firebaugh 1a6a9b5b9e Better way of doing hover suppression 2013-05-13 12:53:03 -07:00
John Firebaugh 578224bd63 Optimize hover behavior
Add entity IDs to the element class list, so that specific
elements can be selected by ID rather than needing `filter`.
2013-05-12 09:40:34 -07:00
Ansis Brammanis d7cc24b935 shadows for multipolygons 2013-04-05 12:11:23 -04:00
John Firebaugh 9f5ba8342d Convert DragNode to a mode
This makes the CSS more consistent and makes fixing #953
easier. Also, dragging now clears the selection and closes
any operations menu, which is good.

There's still a minor Chrome bug: it doesn't refresh the
cursor when the .behavior-hover class is removed.
2013-03-11 15:45:27 -07:00
John Firebaugh 88949d6624 Fix altKey behavior with multi-step drawing (fixes #803) 2013-02-18 21:14:41 -08:00
Tom MacWright 61d7ec45b5 Banish function ( style 2013-02-12 16:35:47 -05:00
Tom MacWright a773aaaab4 Improve perf with some benchmarking.
Re translate change see http://jsperf.com/coerce-vs-join-array
2013-02-07 22:55:44 -05:00
John Firebaugh b37ef978f4 Snap to ways/vertices/midpoints when drawing (#240)
Also add anti-snapping behavior when option key is down.
2013-01-29 11:16:12 -05:00
John Firebaugh 2d3ce6c125 Extract hover behavior 2013-01-07 08:34:37 -08:00