groupbar: various visual improvements
added rounding, round at edges, and indicator height
This commit is contained in:
parent
ac5668192e
commit
9c38287410
7 changed files with 121 additions and 22 deletions
|
|
@ -13,9 +13,13 @@ void CTexPassElement::draw(const CRegion& damage) {
|
|||
|
||||
CScopeGuard x = {[]() {
|
||||
//
|
||||
g_pHyprOpenGL->m_bEndFrame = false;
|
||||
g_pHyprOpenGL->m_bEndFrame = false;
|
||||
g_pHyprOpenGL->m_RenderData.clipBox = {};
|
||||
}};
|
||||
|
||||
if (!data.clipBox.empty())
|
||||
g_pHyprOpenGL->m_RenderData.clipBox = data.clipBox;
|
||||
|
||||
if (data.replaceProjection)
|
||||
g_pHyprOpenGL->m_RenderData.monitorProjection = *data.replaceProjection;
|
||||
g_pHyprOpenGL->renderTextureInternalWithDamage(data.tex, data.box, data.a, data.damage.empty() ? damage : data.damage, data.round, data.roundingPower, data.syncTimeline,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue