enhance kanban & taskboard scrolling
parent
69a3b3de16
commit
fefb6aca10
|
@ -86,7 +86,7 @@ KanbanSortableDirective = ($repo, $rs, $rootscope) ->
|
|||
$rootscope.$broadcast("kanban:us:move", itemUs, itemUs.status, newStatusId, itemIndex)
|
||||
|
||||
scroll = autoScroll(containers, {
|
||||
margin: 20,
|
||||
margin: 100,
|
||||
pixels: 30,
|
||||
scrollWhenOutside: true,
|
||||
autoScroll: () ->
|
||||
|
|
|
@ -87,8 +87,9 @@ TaskboardSortableDirective = ($repo, $rs, $rootscope) ->
|
|||
$scope.$apply ->
|
||||
$rootscope.$broadcast("taskboard:task:move", itemTask, newUsId, newStatusId, itemIndex)
|
||||
|
||||
|
||||
scroll = autoScroll([$('.taskboard-table-body')[0]], {
|
||||
margin: 20,
|
||||
margin: 100,
|
||||
pixels: 30,
|
||||
scrollWhenOutside: true,
|
||||
autoScroll: () ->
|
||||
|
|
Loading…
Reference in New Issue