mirror of
https://github.com/aseprite/aseprite.git
synced 2024-11-20 14:21:45 +00:00
Minor TODO item on Widget::setBoundsQuietly() for the future
This commit is contained in:
parent
ccbab8d4fd
commit
f07359d71c
@ -641,6 +641,9 @@ void Widget::setBoundsQuietly(const gfx::Rect& rc)
|
||||
manager->removeMessagesFor(this, kPaintMessage);
|
||||
}
|
||||
|
||||
// TODO Test moving this inside the if (m_bounds != rc) { ... }
|
||||
// block, so the widget is invalidted only when the bounds are
|
||||
// really changed.
|
||||
invalidate();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user