trigger externals shadows when panelsize>=iconsize

v0.6
Michail Vourlakos 8 years ago
parent 1184bf4422
commit 1cb0fdb965

@ -100,7 +100,7 @@ Item{
property int marginsHeight: root.drawShadowsExternal ? 0 : margins.top + margins.bottom
property int panelSize: automaticPanelSize
property int automaticPanelSize: root.drawShadowsExternal ? root.themePanelSize + root.panelShadow:
property int automaticPanelSize: root.drawShadowsExternal ? root.statesLineSize + root.iconSize + root.iconMargin + 1:
Math.min(root.themePanelSize + root.panelShadow + 1,
root.statesLineSize + root.iconSize + root.iconMargin + 1)

@ -40,7 +40,7 @@ Item{
property bool inStartup: root.inStartup
property bool normalState : false // this is being set from updateMaskArea
property bool previousNormalState : false // this is only for debugging purposes
property bool panelIsBiggerFromIconSize: root.useThemePanel && (root.themePanelSize >= (root.iconSize + root.iconMargin + 1))
property bool panelIsBiggerFromIconSize: root.useThemePanel && (root.themePanelSize >= root.iconSize)
property int animationSpeed: root.durationTime * 1.2 * units.longDuration
property int length: root.isVertical ? Screen.height : Screen.width //screenGeometry.height : screenGeometry.width

Loading…
Cancel
Save