Commit Graph

223 Commits

Author SHA1 Message Date
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
John Firebaugh 3f19a293aa Make selection less laggy 2013-02-12 14:54:39 -08:00
John Firebaugh 6df64dbf37 Switch to number keys 1-4 for modes (fixes #731) 2013-02-12 11:00:11 -08:00
Ansis Brammanis fc6cb352d8 use compatible mouse position properties 2013-02-11 12:12:18 -05:00
John Firebaugh c406413b67 Browse button should be active when moving (fixes #692) 2013-02-09 15:09:13 -08:00
Ansis Brammanis ba47d3183d Fix lasso and add it to select 2013-02-08 17:46:37 -05:00
Tom MacWright 189412398e Merge pull request #673 from systemed/lasso
Lasso
2013-02-07 13:36:54 -08:00
John Firebaugh 5cad057212 Clear selection on esc (fixes #643) 2013-02-07 13:36:19 -08:00
Tom MacWright f0b761b979 Lasso action 2013-02-07 16:21:25 -05:00
Ansis Brammanis a4bf7c689f Merge DragNode and DragMidpoint
Adds shared behaviors such as snapping to DragMidpoint
2013-02-06 10:49:58 -05:00
Tom MacWright 42f2cebab3 Merge branch 'master' of github.com:systemed/iD 2013-02-05 19:09:42 -05:00
Tom MacWright 8f17628190 Support nudging while moving ways. Fixes #533 2013-02-05 19:09:22 -05:00
John Firebaugh 5eb0644242 Improve multipolygon rendering
Multipolygon relations report their geometry as 'area' and are rendered
as such. However, they do not render a stroke. The stroke rendering
will come from the individual lines, which are given the tag
classes of their parent relations, allowing them to have a stroke
style matching the style of simple areas with the same tags.

Untagged circular ways are no longer considered areas. This prevents
an untagged inner way of a multipolygon from rendering as an area and
is consistent with how P2 and JOSM treat them.

In the CSS, it's no longer necessary to deal with multipolygons
explicitly in selectors. But keep in mind that area boundaries can
now be rendered either as lines or as area strokes. In most cases
the selector should be `path.stroke.tag-_____`, i.e. an explicit
`.area` or `.line` classes should not be included.

Finally, the parent ways of selected multipolygons are given the 'selected'
class.
2013-02-05 15:20:11 -08:00
Ansis Brammanis bc6238c2be Use AddMidpoint when doubleclicking on way 2013-02-05 14:52:05 -05:00
Ansis Brammanis 2d4f477265 dblclick a shared way adds vertex to all ways 2013-02-05 14:11:03 -05:00
Tom MacWright db7f42145e Continue removing any non-scoped selectors. Refs #595
Last hits will be combobox and layerswitcher.
2013-02-05 12:00:10 -05:00
Ansis Brammanis 3576a99eb5 Always have delete as first op 2013-02-05 11:00:13 -05:00
Ansis Brammanis 915bcf7826 Fix drawing, leaking globals 2013-02-05 00:41:07 -05:00
Ansis Brammanis c8ab057f19 Remove unused midpoint code 2013-02-04 18:26:45 -05:00
Tom MacWright 3d8f2ffb84 Consistify syntax 2013-02-04 16:08:34 -05:00
John Firebaugh 09dac581be Fix MoveWay mode (fixes #602) 2013-02-02 12:55:20 -05:00
John Firebaugh 7235632a63 Update logic for multi-select 2013-02-01 15:13:44 -05:00
John Firebaugh fe49e8fb77 Pass around context rather than map 2013-02-01 12:40:16 -05:00
John Firebaugh 579d632563 Hoist functions up a scope 2013-02-01 12:40:15 -05:00
John Firebaugh 7e68e8e114 Add iD.Context
This is a facade interface that ties together a bunch of
different internal objects and will make it easier to write
tests for behaviors, modes, and operations.
2013-02-01 12:40:15 -05:00
Tom MacWright 9f37249393 Merge branch 'master' into presets 2013-01-31 17:20:15 -05:00
Ansis Brammanis f430ecd622 Fix keyboard-initiated way moving 2013-01-31 17:12:37 -05:00
John Firebaugh 5f41b74955 Remove controller.exit 2013-01-31 16:00:02 -05:00
John Firebaugh 7ea7326f92 Extract Select behavior 2013-01-31 15:56:24 -05:00
Tom MacWright ecb27eaf2f Merge branch 'master' into presets
Conflicts:
	js/id/modes/select.js
2013-01-31 15:14:28 -05:00
John Firebaugh 402a9424c0 Make selection an array of entity IDs
Should have no visible effect yet.
2013-01-31 13:51:12 -05:00
John Firebaugh df72ef254f ChangeEntityTags -> ChangeTags 2013-01-31 12:07:54 -05:00
John Firebaugh 6f7079d11c AddWay/AddNode -> AddEntity 2013-01-31 12:06:21 -05:00
John Firebaugh 1bfe1359ec AddWayNode -> AddVertex 2013-01-31 12:06:21 -05:00
John Firebaugh 2655810efe Remove unused parameter 2013-01-31 12:06:21 -05:00
Tom MacWright bc59070ff3 Merge branch 'master' into presets
Conflicts:
	js/id/util.js
2013-01-31 11:35:29 -05:00
John Firebaugh 7e8126ded9 I18n for modes and operations 2013-01-31 11:20:41 -05:00
Saman Bemel-Benrud 1b495870c0 grammar for tooltips, keybinding hints, other tooltip fixes. 2013-01-30 19:09:10 -05:00
Tom MacWright 2cb3e5849d First shot at presets
This includes a first JSON scheme and a bad-looking UI currently in
inspector.
2013-01-30 17:30:04 -05:00
John Firebaugh 363cd53af1 Rearrange code 2013-01-30 16:17:30 -05:00