From 1e6863ee19b8ca9d75114f142efd8970c0d55c91 Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Thu, 19 Dec 2013 00:08:47 -0500 Subject: [PATCH] adjusting snap guide sensitivity --- public/src/modules/composer.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/public/src/modules/composer.js b/public/src/modules/composer.js index bb12b582bf..d12394fcc4 100644 --- a/public/src/modules/composer.js +++ b/public/src/modules/composer.js @@ -251,11 +251,11 @@ define(['taskbar'], function(taskbar) { // Half snap jPostContainer.css('width', resizeSnaps.half); resizeSavePosition(resizeSnaps.half); - } else if (Math.abs(position - resizeSnaps.none) <= 15) { + } else if (Math.abs(position - resizeSnaps.none) <= 30) { // Minimize snap - jPostContainer.css('width', bodyRect.width - resizeSnaps.none); + jPostContainer.css('width', bodyRect.width - resizeSnaps.none + 15); resizeSavePosition(resizeSnaps.none); - } else if (position <= 15) { + } else if (position <= 30) { // Full snap jPostContainer.css('width', bodyRect.width - 15); resizeSavePosition(bodyRect.width - 15);