mirror of
https://github.com/KDE/latte-dock.git
synced 2025-03-27 14:50:21 +03:00
imp:dont update view:local_geometry when hidden
--local_geometry must be updated only when view is fully shown in its final position
This commit is contained in:
parent
cafa0d54c7
commit
01ae984420
@ -601,7 +601,11 @@ Item{
|
||||
var validIconSize = (root.iconSize===root.maxIconSize || root.iconSize === automaticItemSizer.automaticIconSizeBasedSize);
|
||||
|
||||
//console.log("reached updating geometry ::: "+dock.maskArea);
|
||||
if(inPublishingState && (normalState || root.editMode)) {
|
||||
|
||||
if(inPublishingState && !latteView.visibility.isHidden && (normalState || root.editMode)) {
|
||||
//! Important: Local Geometry must not be updated when view ISHIDDEN
|
||||
//! because it breaks Dodge(s) modes in such case
|
||||
|
||||
var tempGeometry = Qt.rect(latteView.effects.mask.x, latteView.effects.mask.y, latteView.effects.mask.width, latteView.effects.mask.height);
|
||||
|
||||
//the shadows size must be removed from the maskArea
|
||||
|
Loading…
x
Reference in New Issue
Block a user