autoscroll variable speed v1.0

This commit is contained in:
2026-07-01 10:46:10 -03:00
parent bb3ac1c946
commit 7f9235dbdc
3 changed files with 16 additions and 2 deletions

View File

@@ -25,6 +25,12 @@ class Plugin extends Base
'template' => 'plugins/TweakDrag/Asset/js/drag-scroll.js',
));
}
// Auto-scroll the board while dragging a card near a screen edge. Always loaded;
// it only acts during an active card drag.
$this->hook->on('template:layout:js', array(
'template' => 'plugins/TweakDrag/Asset/js/drag-autoscroll.js',
));
}
public function getPluginName()
@@ -44,7 +50,7 @@ class Plugin extends Base
public function getPluginVersion()
{
return '0.3.0';
return '1.0.0';
}
public function getPluginHomepage()