summaryrefslogtreecommitdiff
path: root/assets/javascripts/rectangles/map/draw.js
diff options
context:
space:
mode:
authorJulie Lala <jules@okfoc.us>2014-04-17 02:45:54 -0400
committerJulie Lala <jules@okfoc.us>2014-04-17 02:45:54 -0400
commit892295b1c254c461614145dc67d63e09bf76661d (patch)
tree56784a2986472044cd414eb5abdfe58eb88471c2 /assets/javascripts/rectangles/map/draw.js
parent1af8f41cc88e3c57bfabe6d4a5dcd83fc4a0e1bc (diff)
dragging
Diffstat (limited to 'assets/javascripts/rectangles/map/draw.js')
-rw-r--r--assets/javascripts/rectangles/map/draw.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/assets/javascripts/rectangles/map/draw.js b/assets/javascripts/rectangles/map/draw.js
index eb3dece..40bb483 100644
--- a/assets/javascripts/rectangles/map/draw.js
+++ b/assets/javascripts/rectangles/map/draw.js
@@ -39,7 +39,7 @@ function draw_mouse(mouse){
ctx.fill();
if (mouse.width() != 0 && mouse.height() != 0) {
- if (clipper.dragging) {
+ if (map.ui.dragging) {
stroke_rect(mouse)
}
else {