mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-26 08:05:58 +01:00
fix group border oversaturation
This commit is contained in:
parent
da76a1ed9e
commit
7ed401e5e0
1 changed files with 3 additions and 3 deletions
|
@ -1446,7 +1446,7 @@ void CCompositor::updateWindowAnimatedDecorationValues(CWindow* pWindow) {
|
||||||
// border
|
// border
|
||||||
const auto RENDERDATA = g_pLayoutManager->getCurrentLayout()->requestRenderHints(pWindow);
|
const auto RENDERDATA = g_pLayoutManager->getCurrentLayout()->requestRenderHints(pWindow);
|
||||||
if (RENDERDATA.isBorderColor)
|
if (RENDERDATA.isBorderColor)
|
||||||
setBorderColor(RENDERDATA.borderColor);
|
setBorderColor(RENDERDATA.borderColor * (1.f / 255.f));
|
||||||
else
|
else
|
||||||
setBorderColor(pWindow == m_pLastWindow ?
|
setBorderColor(pWindow == m_pLastWindow ?
|
||||||
(pWindow->m_sSpecialRenderData.activeBorderColor >= 0 ? CGradientValueData(CColor(pWindow->m_sSpecialRenderData.activeBorderColor) * (1.f / 255.f)) : *ACTIVECOL) :
|
(pWindow->m_sSpecialRenderData.activeBorderColor >= 0 ? CGradientValueData(CColor(pWindow->m_sSpecialRenderData.activeBorderColor) * (1.f / 255.f)) : *ACTIVECOL) :
|
||||||
|
|
Loading…
Reference in a new issue