parent
67c9fc575f
commit
18b6ded8f0
2 changed files with 154 additions and 126 deletions
|
@ -157,7 +157,7 @@ impl RenderOnce for ListItem {
|
|||
this.ml(self.indent_level as f32 * self.indent_step_size)
|
||||
.px_2()
|
||||
})
|
||||
.when(!self.inset, |this| {
|
||||
.when(!self.inset && !self.disabled, |this| {
|
||||
this
|
||||
// TODO: Add focus state
|
||||
// .when(self.state == InteractionState::Focused, |this| {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue