Fix translation in layout of Nested overlay

This commit is contained in:
Héctor Ramón Jiménez 2023-06-21 01:43:25 +02:00
parent 8ae4e28013
commit 716bf09923
No known key found for this signature in database
GPG key ID: 140CC052C94F138E

View file

@ -42,7 +42,7 @@ where
where
Renderer: renderer::Renderer,
{
let translation = position - element.position();
let translation = position - Point::ORIGIN;
let node = element.layout(renderer, bounds, translation);