mirror of
https://github.com/zed-industries/zed.git
synced 2024-11-10 05:37:29 +03:00
Identify IconButton
This commit is contained in:
parent
3932c1064e
commit
92542e6b94
@ -88,6 +88,8 @@ impl<S: 'static + Send + Sync> IconButton<S> {
|
||||
};
|
||||
|
||||
let mut button = h_stack()
|
||||
// TODO: We need to pass the ID in so that `IconButton`s can be differentiated from one another.
|
||||
.id("icon_button")
|
||||
.justify_center()
|
||||
.rounded_md()
|
||||
.py(ui_size(cx, 0.25))
|
||||
|
Loading…
Reference in New Issue
Block a user