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 0ce8636b18
commit 7a70478d89

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;
}