]> source.dussan.org Git - jquery-ui.git/commitdiff
Fixed #3016 - Distance option default
authorRichard Worth <rdworth@gmail.com>
Wed, 18 Jun 2008 11:10:39 +0000 (11:10 +0000)
committerRichard Worth <rdworth@gmail.com>
Wed, 18 Jun 2008 11:10:39 +0000 (11:10 +0000)
ui/ui.draggable.js
ui/ui.resizable.js
ui/ui.selectable.js

index 4cd76444cd9efebcb850b1d4b0e06ae2d46e2697..8436a96a68f16bbb5454b70dd400c7355a77cad2 100644 (file)
@@ -267,7 +267,7 @@ $.extend($.ui.draggable, {
                axis: false,
                cancel: ":input,button",
                delay: 0,
-               distance: 0,
+               distance: 1,
                helper: "original"
        }
 });
index cda5fda50f2b0b712ff03344ecd723902bb07992..189e969cd3a4b505352ba7a8c130f0e556c8ad7c 100644 (file)
@@ -500,7 +500,7 @@ $.widget("ui.resizable", $.extend($.ui.mouse, {
 $.extend($.ui.resizable, {
        defaults: {
                cancel: ":input,button",
-               distance: 0,
+               distance: 1,
                delay: 0,
                preventDefault: true,
                transparent: false,
index fb4bfc9762f0f378dee5ce8e2e9d6f5a63ffbd6e..57ea405a8b3ba6aa3442e4d965ea6886ab84fb19 100644 (file)
@@ -251,7 +251,7 @@ $.widget("ui.selectable", $.extend($.ui.mouse, {
 
 $.extend($.ui.selectable, {
        defaults: {
-               distance: 0,
+               distance: 1,
                delay: 0,
                cancel: ":input,button",
                appendTo: 'body',