fix calculations for maxThickness

pull/5/head
Michail Vourlakos 6 years ago
parent fabf6f44d2
commit c21d355f9a

@ -63,7 +63,7 @@ Item{
property int thicknessNormalOriginalValue: root.maxIconSize + (root.maxThickMargin * 2) + extraThickMask + 1
property int thicknessZoomOriginal: Math.max( ((root.maxIconSize+(root.maxThickMargin * 2)) * root.zoomFactor) + extraThickMask + 2,
root.realPanelSize + root.panelShadow,
thicknessEditMode )
(Latte.WindowSystem.compositingActive ? thicknessEditMode + root.editShadow : thicknessEditMode))
//! is used from Panel in edit mode in order to provide correct masking
property int thicknessEditMode: thicknessNormalOriginalValue + editModeVisual.settingsThickness

@ -232,7 +232,7 @@ Item{
Connections{
target: root
onThemeColorsChanged: imagaTiler.opacity = editVisual.maxOpacity
onThemeColorsChanged: imageTiler.opacity = editVisual.maxOpacity
}
Connections{

Loading…
Cancel
Save