Commit Graph

161 Commits

Author SHA1 Message Date
Tom MacWright
1f3319f7b0 Add circularize action. Fixes #491 2013-01-24 22:52:19 -05:00
John Firebaugh
923fb86f06 Revert menu placement on way
Can't do this until we can distinguish area fill from stroke.
2013-01-24 19:13:42 -05:00
John Firebaugh
454cf0b16c Close menu on map move (fixes #482) 2013-01-24 19:07:05 -05:00
John Firebaugh
3f7b7c6a5a Hide menu on history changes 2013-01-24 18:45:36 -05:00
John Firebaugh
66a0d0bdbd Center the radial menu on entities (fixes #483)
Also, don't show it when finishing draw operations.
2013-01-24 18:45:36 -05:00
John Firebaugh
dd03544a00 Extract AddWay behavior 2013-01-24 18:04:40 -05:00
Tom MacWright
2527d57404 Simple map-tail minimalism. Fixes #467 2013-01-24 17:26:52 -05:00
John Firebaugh
d83eb7647a Connect areas to lines (fixes #476) 2013-01-24 17:04:24 -05:00
John Firebaugh
18c7267010 Extract Draw behavior
Fixed some bugs but introduced others.
2013-01-24 17:00:48 -05:00
John Firebaugh
4d7478972a Remove unused 2013-01-24 17:00:48 -05:00
Tom MacWright
2fd492ed03 Fixes #480 I need more coffee 2013-01-24 13:17:57 -05:00
Tom MacWright
ce78e34b34 Merge, rename to radial menu and remove pi 2013-01-24 13:11:52 -05:00
Tom MacWright
32ea30c3fb Use isPoi for determining whether points are pois or not 2013-01-23 19:14:54 -05:00
John Firebaugh
64e8e85187 location.replace (fixes #462) 2013-01-23 15:58:09 -05:00
John Firebaugh
d6d1709e7b Trying out radial menus for operations UI (#226) 2013-01-23 15:34:04 -05:00
John Firebaugh
278bb4a51c Fix some cases where a degenerate way was created 2013-01-23 12:40:27 -05:00
John Firebaugh
29d608970b UnjoinNode action (fixes #442) 2013-01-23 10:07:10 -05:00
John Firebaugh
c263ebd4dc iD.util.geo => iD.geo 2013-01-22 18:20:20 -05:00
John Firebaugh
7f8ff43a0f Fix namespaces and unbinding 2013-01-22 18:16:52 -05:00
John Firebaugh
2e6c23d7ef Fix namespace 2013-01-22 14:58:51 -05:00
John Firebaugh
814c3608db Hook into undos in a different way
This way doesn't depend on details of keybindings and
the undo button.

Also, implement this in DrawArea mode.
2013-01-22 14:55:08 -05:00
John Firebaugh
ff15aa8e7b Rewrite d3.keybinding
A keybinding now represents a set of key commands that can
be unbound as a set. Multiple keybindings are possible, and,
providing a namespace is provided to the constructor, will
not conflict with each other.

Also, key combination strings such as ⌘+A are now supported.
2013-01-22 14:55:08 -05:00
John Firebaugh
851eae68b8 Match terminology with ReverseWay action 2013-01-22 14:54:30 -05:00
Tom MacWright
9a3d545f17 Do not focus text fields after initial placement 2013-01-22 14:42:21 -05:00
Tom MacWright
5937258c24 Merge branch 'hash' 2013-01-22 11:19:33 -05:00
Tom MacWright
55346c4d33 Work around blur issue for #439 2013-01-22 11:19:09 -05:00
Tom MacWright
42f145a945 Merge pull request #457 from systemed/hash
Hash
2013-01-22 07:47:03 -08:00
Tom MacWright
38c02509ea Do not tolerate modifiers for action shortcuts.
Tolerates id-equality for selecting features.
2013-01-22 10:39:10 -05:00
Tom MacWright
3d90801e63 Add willselect to hash, works with non-line features. 2013-01-22 10:22:00 -05:00
John Firebaugh
2e14a6b4de Unbind ⌘-Z when exiting DrawLine (fixes #455) 2013-01-22 09:49:38 -05:00
Tom MacWright
7cf234365e Non-overwriting hash, add hash in select mode. Needs code for dealing
with hash.
2013-01-22 09:41:29 -05:00
Tom MacWright
b3765a4467 Microbranching jshint stuff. 2013-01-22 09:35:34 -05:00
John Firebaugh
3d98fdd0c5 Merge branch 'gridify' 2013-01-18 15:19:35 -08:00
John Firebaugh
95800741fd Add some utility methods to Way 2013-01-18 14:44:29 -08:00
John Firebaugh
ce6e11a8a0 Test copying tags to the split way 2013-01-18 14:44:28 -08:00
Ansis Brammanis
faecda854e Improve inspector-forced panning 2013-01-18 13:04:42 -05:00
saman bb
1de76aea56 resolve merge 2013-01-17 22:27:25 -05:00
Saman Bemel-Benrud
ae1220726b resolved conflict 2013-01-17 19:03:19 -05:00
John Firebaugh
5a2444b551 Extract and fix extent/intersection calculations
Extents are now [[min x, min y], [max x, max y]].
2013-01-17 14:27:01 -08:00
Tom MacWright
fd2ef2a78b Rename tooltip to tail, use tail in modes. 2013-01-17 12:07:26 -05:00
Tom MacWright
061e81d14a Merge branch 'master' into tooltips 2013-01-17 11:32:37 -05:00
Ansis Brammanis
b8d9741959 Only update inspector tag list when necessary 2013-01-17 10:48:42 -05:00
Tom MacWright
eecc6b14fb First shot at tooltips cc @samanbb 2013-01-16 18:39:12 -05:00
Ansis Brammanis
a9de2500aa Fix undo right after drawing line or area 2013-01-16 12:43:29 -05:00
Ansis Brammanis
a980695ee7 Avoid creating lines with < 2 nodes (or areas < 3) 2013-01-16 12:20:35 -05:00
Saman Bemel-Benrud
b9a2914b35 implementing flexible grid. 2013-01-15 20:11:05 -05:00
Ansis Brammanis
1a2b897d06 Fix closing inspector after delete 2013-01-15 17:23:00 -05:00
Ansis Brammanis
754225aeb7 Autosave tags when closing inspector 2013-01-14 17:14:10 -05:00
Tom MacWright
72afc6dcb9 Namespace UI components 2013-01-14 14:00:51 -05:00
Ansis Brammanis
233b2647cd fix isLine logic (from jfire) 2013-01-14 11:46:45 -05:00