Skip to content

Commit

Permalink
fix: icon position
Browse files Browse the repository at this point in the history
  • Loading branch information
wash2 committed Oct 24, 2024
1 parent acc3825 commit 371614c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/widgets/application.rs
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ pub fn layout<'a, Renderer, M>(
let content = layout_content(renderer, &limits);
let size = limits.resolve(width, height, content.size());
let mut children = vec![content];
let app_icon_node = &children[0].children()[0].children()[0];
let app_icon_node = &children[0].children()[0].children()[0].children()[0];
if let Some(icon) = icon {
let app_icon_size = app_icon_node.size();
let mut icon_node = layout_icon(
Expand Down

0 comments on commit 371614c

Please sign in to comment.