growth until hit maximum feature bloat, now decoupling into TweakDrag new plugin
This commit is contained in:
11
Plugin.php
11
Plugin.php
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user