Skip to content

Commit

Permalink
Merge pull request #20 from iced-rs/master
Browse files Browse the repository at this point in the history
merge upstream
  • Loading branch information
KentaTheBugMaker authored Jun 21, 2023
2 parents ed17552 + 59bb5a9 commit c1d93f7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion runtime/src/overlay/nested.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,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
2 changes: 1 addition & 1 deletion widget/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ version = "0.8"
path = "../style"

[dependencies.ouroboros]
version = "0.13"
version = "0.17"
optional = true

[dependencies.qrcode]
Expand Down
6 changes: 1 addition & 5 deletions widget/src/lazy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -281,11 +281,7 @@ where
}

#[self_referencing]
struct Inner<'a, Message, Renderer>
where
Message: 'a,
Renderer: 'a,
{
struct Inner<'a, Message: 'a, Renderer: 'a> {
cell: Rc<RefCell<Option<Element<'static, Message, Renderer>>>>,
element: Element<'static, Message, Renderer>,
tree: &'a mut Tree,
Expand Down

0 comments on commit c1d93f7

Please sign in to comment.