growth until hit maximum feature bloat, now decoupling into TweakDrag new plugin

This commit is contained in:
2026-07-01 09:42:51 -03:00
parent 54b9fa93fb
commit 51eba0ad5e
6 changed files with 71 additions and 27 deletions

View File

@@ -27,18 +27,11 @@ class Plugin extends Base
$this->template->hook->attach('template:config:sidebar', 'shrinkVertically:config/sidebar');
// Optional: a second, mirrored horizontal scrollbar above the board columns.
if ((int) $this->configModel->get('shrink_vertically_top_scrollbar', 0) === 1) {
if ((int) $this->configModel->get('shrink_vertically_top_scrollbar', 1) === 1) {
$this->hook->on('template:layout:js', array(
'template' => 'plugins/ShrinkVertically/Asset/js/top-scrollbar.js',
));
}
// Optional: click-and-drag the board background to scroll horizontally.
if ((int) $this->configModel->get('shrink_vertically_drag_scroll', 0) === 1) {
$this->hook->on('template:layout:js', array(
'template' => 'plugins/ShrinkVertically/Asset/js/drag-scroll.js',
));
}
}
public function getPluginName()
@@ -58,7 +51,7 @@ class Plugin extends Base
public function getPluginVersion()
{
return '1.1.0';
return '1.3.0';
}
public function getPluginHomepage()