make snap area on panel resize 8 px in each direction (not 7)

This commit is contained in:
rolux 2010-12-22 14:19:40 +00:00
parent 0a5f7779a9
commit 4601254f36

View File

@ -1455,7 +1455,7 @@ requires
self.options.resize[self.options.resize.length - 1]
);
$.each(self.options.resize, function(i, v) {
if (self.options.size > v - 8 && self.options.size < v + 8) {
if (self.options.size >= v - 8 && self.options.size <= v + 8) {
self.options.size = v;
return false;
}