Files
Upsilon/escher/src/transparent_view.cpp
Émilie Feral dcf1e7d8a2 [escher] Fix transparent view: absolute origin can be undefined
(because superviews have not been filled yet). Rather use m_frame.
2018-05-16 10:01:38 +02:00

9 lines
228 B
C++

#include <escher/transparent_view.h>
void TransparentView::markRectAsDirty(KDRect rect) {
if (m_superview) {
m_superview->markRectAsDirty(KDRect(rect.translatedBy(m_frame.origin())));
}
View::markRectAsDirty(rect);
}