mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-22 15:20:39 +01:00
[escher] Fix transparent view: absolute origin can be undefined
(because superviews have not been filled yet). Rather use m_frame.
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
void TransparentView::markRectAsDirty(KDRect rect) {
|
||||
if (m_superview) {
|
||||
m_superview->markRectAsDirty(KDRect(m_superview->pointFromPointInView(this, rect.origin()), rect.size()));
|
||||
m_superview->markRectAsDirty(KDRect(rect.translatedBy(m_frame.origin())));
|
||||
}
|
||||
View::markRectAsDirty(rect);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user