mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-05-19 20:28:53 +00:00
set reorder distance to 5px
This commit is contained in:
parent
332b4bd899
commit
3fb6f25c42
1 changed files with 1 additions and 0 deletions
|
|
@ -47,6 +47,7 @@ habitrpg.directive('habitrpgSortable', ['User', function(User) {
|
|||
return function($scope, element, attrs, ngModel) {
|
||||
$(element).sortable({
|
||||
axis: "y",
|
||||
distance: 5,
|
||||
start: function (event, ui) {
|
||||
ui.item.data('startIndex', ui.item.index());
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue