mirror of
https://github.com/KDE/latte-dock.git
synced 2025-03-09 16:58:16 +03:00
fix editThickness for latte panels
This commit is contained in:
parent
069455be4e
commit
e404abde4e
@ -901,7 +901,9 @@ int View::editThickness() const
|
||||
int ruler_height{m_fontPixelSize};
|
||||
int header_height{m_fontPixelSize + 2*smallspacing};
|
||||
|
||||
return m_maxNormalThickness + ruler_height + header_height + 6*smallspacing;
|
||||
int edgeThickness = behaveAsPlasmaPanel() && screenEdgeMarginEnabled() ? m_screenEdgeMargin : 0;
|
||||
|
||||
return edgeThickness + m_maxNormalThickness + ruler_height + header_height + 6*smallspacing;
|
||||
}
|
||||
|
||||
int View::maxThickness() const
|
||||
|
Loading…
x
Reference in New Issue
Block a user