summaryrefslogtreecommitdiff
path: root/js/ui
diff options
context:
space:
mode:
authortimb <opuscule@gmail.com>2015-07-11 07:22:50 -0700
committertimb <opuscule@gmail.com>2015-07-11 07:22:50 -0700
commit5cc0340723278a1b8f39a6c46b8cf3201f47ec50 (patch)
tree60f8183b6452fa51c8c6ddff68847edd12357966 /js/ui
parent85a2862b92abc75a65ca79e55fb987a1af4bd337 (diff)
dont need to inc cell size when grid enabled now that cell size is directly measured
Diffstat (limited to 'js/ui')
-rw-r--r--js/ui/selection.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/js/ui/selection.js b/js/ui/selection.js
index 2ef2941..fe0c943 100644
--- a/js/ui/selection.js
+++ b/js/ui/selection.js
@@ -56,7 +56,6 @@ var selection = (function(){
var cell_top = cell.offsetTop
var cell_width = cell.offsetWidth
var cell_height = cell.offsetHeight
- if (canvas.grid) { cell_width++; cell_height++ }
var w = width(aa, bb)
var h = height(aa, bb)