mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-10-29 11:22:47 +00:00
renderer: round box in damageBox
This commit is contained in:
parent
f324a3a564
commit
60529e810d
@ -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…
x
Reference in New Issue
Block a user