Ansis Brammanis
3ad94406cb
fix multi-select regression
2013-04-02 16:54:08 -04:00
Ansis Brammanis
a4d7b20027
Don't try to select non-multipolygon relations
2013-04-02 16:23:40 -04:00
Ansis Brammanis
d573d42ebe
Revert "don't try to select relations"
...
This reverts commit 5c15a180a3 .
2013-04-02 16:00:39 -04:00
Ansis Brammanis
5c15a180a3
don't try to select relations
2013-04-02 15:42:35 -04:00
Ansis Brammanis
0c5424aa3f
re-add 'selected' class after each redraw
...
Performance seems to be fine, but we could move this into
svg/* and only run it on entering elements.
fix #1236
2013-04-02 13:51:32 -04:00
John Firebaugh
b1daf85cfd
Tooltips for disabled operations ( fixes #573 )
2013-03-29 12:29:07 -07:00
Ansis Brammanis
4a2cb9841d
fix nudging during move operation
2013-03-28 15:03:31 -04:00
John Firebaugh
5d30a01cfc
Fix event namespace
2013-03-26 11:09:35 -07:00
Ansis Brammanis
63edc30922
Revert "Use a temporary area tag for drawing. Fixes #1014 "
...
This reverts commit 4184b503f9 .
2013-03-18 14:02:21 -04:00
John Firebaugh
0c2957ca1b
Decrement mode keybindings ( fixes #1073 )
2013-03-18 10:23:43 -07:00
John Firebaugh
fdcb96e8d6
Move more inspector logic to Inspector
2013-03-17 20:07:44 -07:00
John Firebaugh
13b5cc4c4d
Move inspector logic to Inspector
2013-03-17 19:54:47 -07:00
John Firebaugh
cb12b184c0
Pass entity explicitly
2013-03-17 19:38:38 -07:00
Tom MacWright
4184b503f9
Use a temporary area tag for drawing. Fixes #1014
2013-03-15 18:27:06 -04:00
Tom MacWright
4b68f8f7ef
Refactor preset grid, add fancier transition for inspector enter
2013-03-15 15:28:32 -04:00
John Firebaugh
66e1bdb47d
Show tag editor for untagged entities that aren't new
...
Fixes #991 .
2013-03-14 15:59:56 -07:00
John Firebaugh
4fa88acc85
Fix connecting adjacent vertices
...
Can't unconditionally delete the node; it may be a member
of other ways.
I didn't preserve the behavior of dragging a midpoint to
an adjacent node being a no-op. In general we don't try to
eliminate compound operations whose net result is a no-op;
I don't think it's important to do so for this special case.
The degenerate case of connecting the endpoints of a two-vertex
line now results in a point. This is what naturally resulted
from the code, and seems ok.
Fixes #983 .
2013-03-12 16:26:40 -07:00
Ansis Brammanis
917d5bfaeb
avoid history change when dragging midpoint
...
dragging a midpoint onto an adjacent node
should do nothing
2013-03-12 14:38:01 -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
Ansis Brammanis
8406b7de80
use capture for esc in select mode
...
so that the mode can be escaped even if
a text input is focused
2013-03-10 21:27:49 -04:00
John Firebaugh
988bfeb767
Support both delete and backspace ( fixes #887 )
...
Also show correct key in operation tooltip.
2013-03-04 17:12:44 -08:00
Ansis Brammanis
44079759a6
untie showing grid and showing radial menu
2013-03-04 00:42:02 -05:00
John Firebaugh
b09bc8cfa2
Extract selection reference
2013-03-01 10:30:12 -08:00
John Firebaugh
8b5b13fbc4
Delete commented out code
2013-03-01 10:30:12 -08:00
John Firebaugh
1f28e1441e
Camel case identifiers
2013-03-01 10:30:12 -08:00
Ansis Brammanis
40e133c130
Tagless entities trigger initial
2013-02-28 19:30:48 -05:00
John Firebaugh
c02531fe21
Put presetData in context
2013-02-28 16:05:04 -08:00
Ansis Brammanis
e0bc3bf7e1
No initial mode after rotating
2013-02-28 13:21:18 -05:00
John Firebaugh
b7894ceaf0
Calculate participating ways in AddMidpoint
...
Due to differenced redraw, midpoint.ways was getting stale,
so sometimes dragging a midpoint didn't add the new node to
all ways. Better to calculate participating ways when needed.
This also simplifies the code for adding a midpoint via double
click. It does make filtering midpoints on redraw a bit more
expensive, but a cursory profile didn't show it being a problem.
Fixes #763 .
2013-02-27 20:41:38 -08:00
Ansis Brammanis
4e6a3c322f
Merge branch 'master' of git://github.com/systemed/iD into rotate2
...
Conflicts:
index.html
test/index.html
2013-02-27 21:41:26 -05:00
Ansis Brammanis
404488c54a
Fix a couple of rotate bugs
2013-02-27 21:38:40 -05:00
John Firebaugh
78f6a00029
Fix moving multiple entities which share nodes
...
While here, implement moving multipolygons too.
2013-02-27 17:12:39 -08:00
John Firebaugh
89ee4244ff
Pass context directly
2013-02-26 17:22:16 -08:00
Ansis Brammanis
ac275c8011
Don't show presetgrid after moving
2013-02-26 16:56:05 -05:00
Ansis Brammanis
d964d7fe28
remove highway=residential as default tag
2013-02-26 13:04:24 -05:00
Ian B
9f5564508f
Add rotate shape operation (addresses #838 )
2013-02-25 21:09:41 +01:00
Ansis Brammanis
7222fcb63f
Move multiple elements
2013-02-23 20:06:37 -05:00
Ansis Brammanis
24a6092569
Fix moveway
2013-02-23 17:24:01 -05:00
Ansis Brammanis
c00f4a8e2d
Fix updating preset ui when undoing, address ui
2013-02-23 16:54:51 -05:00
Ansis Brammanis
559d1b9420
Fix tabbing through taglist
2013-02-21 17:05:05 -05:00
Ansis Brammanis
49e5eb8317
Fix name input saving and updating
2013-02-20 17:35:50 -05:00
Ansis Brammanis
bf3a635da5
Extract tag editor ui
2013-02-15 15:58:05 -05:00
Ansis Brammanis
0bb805f557
Merge remote-tracking branch 'systemed/master' into presets
...
Conflicts:
css/app.css
index.html
js/id/connection.js
js/id/modes/select.js
js/id/ui/inspector.js
js/id/util.js
test/spec/modes/add_point.js
2013-02-14 11:38:18 -05:00
John Firebaugh
c0b8cd74de
Reopen radial menu when clicking on selected entity ( fixes #758 )
2013-02-13 16:23:58 -08:00
Tom MacWright
8538339b44
Fix zooming to validated features. Fixes #748
2013-02-13 17:21:21 -05:00
John Firebaugh
65fbc808a1
Map#pan redraws
2013-02-13 10:39:48 -08:00
John Firebaugh
1e60b0b7fa
iD constructors are camel case
2013-02-12 16:51:25 -08:00
John Firebaugh
6bebb9197c
200ms
2013-02-12 15:00:58 -08:00
John Firebaugh
89fe4bff09
Only add vertex when double-clicking the selected entity
...
Previously double-clicking would add a vertex to any way,
as long as anything was selected.
2013-02-12 14:54:39 -08:00
John Firebaugh
419aa088e3
RadialMenu#center
2013-02-12 14:54:39 -08:00