Skip to content

Commit

Permalink
Fix translation in layout of Nested overlay
Browse files Browse the repository at this point in the history
  • Loading branch information
hecrj committed Jun 20, 2023
1 parent 8ae4e28 commit 716bf09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtime/src/overlay/nested.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 716bf09

Please sign in to comment.