Swap the parameters to IconButton
This commit is contained in:
parent
47f979d457
commit
6a532af1fd
11 changed files with 37 additions and 37 deletions
|
@ -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)
|
||||
}))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue