mirror of
https://github.com/aseprite/aseprite.git
synced 2025-03-29 19:20:09 +00:00
Minor change/renames in Widget::flushRedraw()
This commit is contained in:
parent
3bad2af2f3
commit
e64cc958ce
@ -894,9 +894,9 @@ void Widget::flushRedraw()
|
||||
if (!widget->m_updateRegion.isEmpty()) {
|
||||
// Intersect m_updateRegion with drawable area.
|
||||
{
|
||||
Region region;
|
||||
widget->getDrawableRegion(region, kCutTopWindows);
|
||||
widget->m_updateRegion.createIntersection(widget->m_updateRegion, region);
|
||||
Region drawable;
|
||||
widget->getDrawableRegion(drawable, kCutTopWindows);
|
||||
widget->m_updateRegion &= drawable;
|
||||
}
|
||||
|
||||
std::size_t c, nrects = widget->m_updateRegion.size();
|
||||
|
Loading…
x
Reference in New Issue
Block a user