From 47623b31b6bbd23337920cc51f0ceb623d682139 Mon Sep 17 00:00:00 2001 From: Julie Lala Date: Thu, 8 May 2014 18:09:27 -0400 Subject: show/hide dots and move them when dragging --- assets/javascripts/rectangles/util/constants.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'assets/javascripts/rectangles/util/constants.js') 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 " -- cgit v1.2.3-70-g09d2