mirror of
https://github.com/KDE/latte-dock.git
synced 2025-03-01 00:58:24 +03:00
set minimum maxLength to 30%
--when the user was using the mouse wheel to change the maximum length, the maximum length could get lower values than 30%
This commit is contained in:
parent
cb88d134f4
commit
cd3616537c
@ -51,7 +51,7 @@ MouseArea{
|
||||
function updateMaxLength(step) {
|
||||
var tempML = plasmoid.configuration.maxLength + step;
|
||||
|
||||
var value = Math.max(Math.min(tempML,100),0);
|
||||
var value = Math.max(Math.min(tempML,100),30);
|
||||
|
||||
plasmoid.configuration.maxLength = value;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user