list: Avoid duplicate active item background. (#594)
This commit is contained in:
parent
576dda344c
commit
8e931bd862
1 changed files with 0 additions and 1 deletions
|
|
@ -128,7 +128,6 @@ impl RenderOnce for ListItem {
|
||||||
.relative()
|
.relative()
|
||||||
.items_center()
|
.items_center()
|
||||||
.justify_between()
|
.justify_between()
|
||||||
.when(is_active, |this| this.bg(cx.theme().list_active))
|
|
||||||
.when(!self.disabled, |this| {
|
.when(!self.disabled, |this| {
|
||||||
this.when_some(self.on_click, |this, on_click| {
|
this.when_some(self.on_click, |this, on_click| {
|
||||||
this.cursor_pointer()
|
this.cursor_pointer()
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue