1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-03-21 10:50:30 +03:00

expose directRenderAnimationTime

This commit is contained in:
Michail Vourlakos 2017-05-06 11:39:45 +03:00
parent c1bff5a1a9
commit 46106a5bd1
3 changed files with 3 additions and 3 deletions

View File

@ -922,7 +922,7 @@ Item {
}
}
if(!root.latteApplet || Math.abs(root.latteAppletPos-index)>1
if(!root.latteApplet || Math.abs(root.latteAppletPos-index)>1 || !root.hasInternalSeparator
|| (root.hasInternalSeparator
&& ((root.latteApplet.internalSeparatorPos>0 && root.latteApplet.internalSeparatorPos<root.tasksCount-1)
|| (root.latteApplet.internalSeparatorPos===0 && index>root.latteAppletPos)

View File

@ -48,7 +48,7 @@ DragDrop.DropArea {
property bool debugMode: Qt.application.arguments.indexOf("--graphics")>=0
property bool globalDirectRender: false //it is used as a globalDirectRender for all elements in the dock
property bool directRenderTimerIsRunning: enableDirectRenderTimer.running
property int directRenderAnimationTime: 20
property int directRenderAnimationTime: 0
property bool addLaunchersMessage: false
property bool addLaunchersInTaskManager: plasmoid.configuration.addLaunchersInTaskManager

View File

@ -143,7 +143,7 @@ Item {
property bool smartLaunchersEnabled: latteDock ? latteDock.smartLaunchersEnabled : plasmoid.configuration.smartLaunchersEnabled
property bool threeColorsWindows: latteDock ? latteDock.threeColorsWindows : plasmoid.configuration.threeColorsWindows
property int directRenderAnimationTime: latteDock ? latteDock.directRenderAnimationTime : 20
property int directRenderAnimationTime: latteDock ? latteDock.directRenderAnimationTime : 0
property int dockHoveredIndex : latteDock ? latteDock.hoveredIndex : -1
property int iconMargin: latteDock ? latteDock.iconMargin : 0.12*iconSize
property int iconSize: latteDock ? latteDock.iconSize : Math.max(plasmoid.configuration.iconSize, 16)