1
0
Fork 0
forked from wry/wry

tree: fix toplevel float extent memoization

This commit is contained in:
Julian Orth 2024-02-19 22:58:58 +01:00
parent bd3872a4ef
commit 062bcb25ee
7 changed files with 14 additions and 20 deletions

View file

@ -1440,7 +1440,7 @@ impl ToplevelNode for ContainerNode {
}
}
fn tl_change_extents(self: Rc<Self>, rect: &Rect) {
fn tl_change_extents_impl(self: Rc<Self>, rect: &Rect) {
self.toplevel_data.pos.set(*rect);
self.abs_x1.set(rect.x1());
self.abs_y1.set(rect.y1());