Extract select behavior to mode

While here, use a more appropriate class (.selected).
This commit is contained in:
John Firebaugh
2012-12-22 15:05:50 -08:00
parent 49897680f7
commit 78569a5ef3
4 changed files with 18 additions and 28 deletions
+2 -2
View File
@@ -51,7 +51,7 @@ TODO: elaborate.
### Special classes
A node that is a member of two or more ways shall have the `.shared` class. (TODO)
A node that is a member of two or more ways shall have the `.shared` class.
Two or more nodes at identical coordinates shall each have an `.overlapped` class. (TODO)
@@ -60,6 +60,6 @@ Elements comprising the entity currently under the cursor shall have the `.hover
of several elements, only one of which can be `:hover`ed.)
Elements that are currently active (being clicked or dragged) shall have the `.active`
class.
class. (TODO)
Elements that are currently selected shall have the `.selected` class.