Skip to content

Commit 2068668

Browse files
committed
fix: icon position
1 parent 3e1263f commit 2068668

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/widgets/application.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ pub fn layout<'a, Renderer, M>(
367367
let content = layout_content(renderer, &limits);
368368
let size = limits.resolve(width, height, content.size());
369369
let mut children = vec![content];
370-
let app_icon_node = &children[0].children()[0].children()[0];
370+
let app_icon_node = &children[0].children()[0].children()[0].children()[0];
371371
if let Some(icon) = icon {
372372
let app_icon_size = app_icon_node.size();
373373
let mut icon_node = layout_icon(

0 commit comments

Comments
 (0)