Swap the parameters to IconButton

This commit is contained in:
Marshall Bowers 2023-10-24 11:26:19 +02:00
parent 47f979d457
commit 6a532af1fd
11 changed files with 37 additions and 37 deletions

View file

@ -34,7 +34,7 @@ impl<S: 'static + Send + Sync + Clone> MultiBuffer<S> {
.p_4()
.bg(color.editor_subheader)
.child(Label::new("main.rs"))
.child(IconButton::new(Icon::ArrowUpRight, "arrow_up_right")),
.child(IconButton::new("arrow_up_right", Icon::ArrowUpRight)),
)
.child(buffer)
}))