Bryan Housel
dcc9812986
prevent most operations on things connected to hidden features..
2014-10-28 21:37:02 -04:00
John Firebaugh
f5b29989f5
Deselect before deleting an entity
...
This avoids errors produced by attempts to generate turns for
ways that were just deleted.
2014-05-18 16:02:46 -07:00
John Firebaugh
1e78ee5c87
Stricter jshint
2013-10-24 16:08:48 -07:00
tyr
e8d637f2bb
Add iD.geo.sphericalDistance
...
iD.geo.euclideanDistance should only be used for calculations of
projected coordinates or display (pixel) coordinates.
iD.geo.sphericalDistance calculates approximate geographical
distances, accounting for distortions at higher latitudes. This
can be used for determining the nearest node (operations.Delete,
actions.Circularize) or relative length comparisons (actions.Split).
2013-09-29 07:45:04 -07:00
John Firebaugh
b52eb9ce72
Change delete shortcut to ⌘⌫/Ctrl-Backspace
...
Refs #1698
2013-08-21 15:50:55 -07:00
John Firebaugh
ccf2491bdd
Fix error when deleting a triangle vertex
...
Fixes #1712
2013-08-21 15:25:51 -07:00
John Firebaugh
a84a3364cc
selection -> selectedIDs
...
Overloading "selection" is a bad idea.
2013-06-03 15:48:03 -07:00
John Firebaugh
fc692d8707
When deleting a vertex, reselect another vertex if possible
...
Fixes #1457 .
2013-05-31 17:36:08 -07:00
John Firebaugh
da9602795c
Don't allow deleting incomplete relations
...
This will fail with an "entity not found" error.
2013-05-16 16:43:41 -07:00
John Firebaugh
b1daf85cfd
Tooltips for disabled operations ( fixes #573 )
2013-03-29 12:29:07 -07: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
John Firebaugh
05de42b116
Go to browse mode after deleting ( fixes #868 )
2013-02-27 17:30:47 -08:00
John Firebaugh
58fcf746a2
Delete multiple
2013-02-01 15:08:41 -05:00
John Firebaugh
7ba31f05d2
Support deleting relations
2013-02-01 14:48:11 -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
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
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
John Firebaugh
f31dcd32a2
Add keybindings for all operations
2013-01-29 18:45:10 -05:00
John Firebaugh
9b2860d01a
Futuristic radial menu tooltips
2013-01-29 18:45:10 -05:00
John Firebaugh
69d95a6082
Refactor operations
...
They're something distinct from actions. Actions are independent
of UI, operations are actions + UI (title, keybinding, modality,
etc.)
2013-01-29 12:05:52 -05:00