From 5cc0340723278a1b8f39a6c46b8cf3201f47ec50 Mon Sep 17 00:00:00 2001 From: timb Date: Sat, 11 Jul 2015 07:22:50 -0700 Subject: dont need to inc cell size when grid enabled now that cell size is directly measured --- js/ui/selection.js | 1 - 1 file changed, 1 deletion(-) 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) -- cgit v1.2.3-70-g09d2