1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-03-09 00:58:15 +03:00

disable zoom labels in settings for !animatons

This commit is contained in:
Michail Vourlakos 2020-01-03 19:28:01 +02:00
parent 813b40e9ca
commit aa00d6348b
2 changed files with 2 additions and 3 deletions

View File

@ -86,7 +86,7 @@ Item {
return (visibilityManager.panelIsBiggerFromIconSize
&& (maxZoomFactor === 1.0)
&& (plasmoid.configuration.panelPosition === Latte.Types.Justify)
/*&& (plasmoid.configuration.panelPosition === Latte.Types.Justify)*/
&& !root.editMode
&& !visibilityManager.inLocationAnimation);
}

View File

@ -274,7 +274,7 @@ PlasmaComponents.Page {
Layout.minimumWidth: dialog.optionsWidth
Layout.maximumWidth: Layout.minimumWidth
spacing: units.smallSpacing
enabled: plasmoid.configuration.durationTime > 0
enabled: plasmoid.configuration.animationsEnabled
PlasmaComponents.Label {
text: i18n("Zoom On Hover")
@ -284,7 +284,6 @@ PlasmaComponents.Page {
LatteComponents.Slider {
id: zoomSlider
Layout.fillWidth: true
enabled: plasmoid.configuration.animationsEnabled
value: Number(1 + plasmoid.configuration.zoomLevel / 20).toFixed(2)
from: 1
to: 2