renderer: round box in damageBox
This commit is contained in:
parent
f324a3a564
commit
60529e810d
1 changed files with 1 additions and 1 deletions
|
|
@ -1958,7 +1958,7 @@ void CHyprRenderer::damageBox(const CBox& box, bool skipFrameSchedule) {
|
|||
continue; // don't damage mirrors traditionally
|
||||
|
||||
if (!skipFrameSchedule) {
|
||||
CBox damageBox = box.copy().translate(-m->m_position).scale(m->m_scale);
|
||||
CBox damageBox = box.copy().translate(-m->m_position).scale(m->m_scale).round();
|
||||
m->addDamage(damageBox);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue