chore: improve room kind handling (#48)

* chore: improve room kind handling

* .

* add some tooltips

* .

* fix button hovered style

* .

* improve prevent duplicate message

* .
This commit is contained in:
reya
2025-05-29 09:05:08 +07:00
committed by GitHub
parent 7a447da447
commit 557ff18714
6 changed files with 197 additions and 81 deletions

View File

@@ -316,7 +316,7 @@ impl RenderOnce for Button {
this.bg(normal_style.bg)
.hover(|this| {
let hover_style = style.hovered(window, cx);
this.bg(hover_style.bg)
this.bg(hover_style.bg).text_color(hover_style.fg)
})
.active(|this| {
let active_style = style.active(window, cx);