summaryrefslogtreecommitdiff
path: root/assets/javascripts/rectangles/map/draw.js
diff options
context:
space:
mode:
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 {