diff options
| author | Julie Lala <jules@okfoc.us> | 2014-05-08 18:09:27 -0400 |
|---|---|---|
| committer | Julie Lala <jules@okfoc.us> | 2014-05-08 18:55:54 -0400 |
| commit | 47623b31b6bbd23337920cc51f0ceb623d682139 (patch) | |
| tree | 4f7252e51045c9e890c26bb88e3b9ead32427743 /assets/javascripts/rectangles/util | |
| parent | a2288f2f6c7e52ed84bd17598f366c239b61906a (diff) | |
show/hide dots and move them when dragging
Diffstat (limited to 'assets/javascripts/rectangles/util')
| -rw-r--r-- | assets/javascripts/rectangles/util/constants.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/assets/javascripts/rectangles/util/constants.js b/assets/javascripts/rectangles/util/constants.js index fae4f1b..8ba6208 100644 --- a/assets/javascripts/rectangles/util/constants.js +++ b/assets/javascripts/rectangles/util/constants.js @@ -16,6 +16,8 @@ var height_min = 200, var painting_distance_from_wall = 8 +var dot_hide_delay = 50 // ms + var wall_rotation = {} wall_rotation[FRONT] = PI wall_rotation[BACK] = 0 @@ -24,9 +26,6 @@ wall_rotation[RIGHT] = -HALF_PI - - - function sidesToString(sides){ var s = "" if (sides & FRONT) s += "front " |
