mirror of
https://github.com/KDE/latte-dock.git
synced 2025-01-26 02:04:12 +03:00
revert one fix for blur effect
--limiting the qregion returned for blur effect it created in some cases broken visuals concerning the bluring of the background
This commit is contained in:
parent
7a9c0504db
commit
393342ad9e
@ -1576,8 +1576,7 @@ void DockView::updateEffects()
|
||||
fixedMask.translate(m_effectsArea.x(), m_effectsArea.y());
|
||||
|
||||
//! fix1, for KF5.32 that return empty QRegion's for the mask
|
||||
//! fix2, sometimes the calculations return too many regions!!!
|
||||
if (fixedMask.isEmpty() || fixedMask.rectCount() > 25) {
|
||||
if (fixedMask.isEmpty()) {
|
||||
fixedMask = QRegion(m_effectsArea);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user