fix #65, stop bouncing animation in hidden state

pull/1/head
Michail Vourlakos 8 years ago
parent 9b9363b734
commit 29ae2899c9

@ -105,6 +105,7 @@ DragDrop.DropArea {
///BEGIN properties provided to Latte Plasmoid
property bool enableShadows: plasmoid.configuration.shadows
property bool dockIsHidden: dock ? dock.visibility.isHidden : false
property bool dotsOnActive: plasmoid.configuration.dotsOnActive
property bool highlightWindows: plasmoid.configuration.highlightWindows
property bool reverseLinesPosition: plasmoid.configuration.reverseLinesPosition// nowDock ? nowDock.reverseLinesPosition : false

@ -627,8 +627,10 @@ Item{
}
function bounceNewWindow(){
newWindowAnimation.init();
start();
if (isDemandingAttention || !root.dockIsHidden) {
newWindowAnimation.init();
start();
}
}
Component.onCompleted: {

@ -96,6 +96,7 @@ Item {
property bool forceHidePanel: false
property bool disableLeftSpacer: false
property bool disableRightSpacer: false
property bool dockIsHidden: nowDockPanel ? nowDockPanel.dockIsHidden : false
property bool highlightWindows: nowDockPanel ? nowDockPanel.highlightWindows: plasmoid.configuration.highlightWindows
property bool reverseLinesPosition: nowDockPanel ? nowDockPanel.reverseLinesPosition : plasmoid.configuration.reverseLinesPosition
property bool dotsOnActive: nowDockPanel ? nowDockPanel.dotsOnActive : plasmoid.configuration.dotsOnActive

Loading…
Cancel
Save