zed/crates/ui_input
Dino f845893238
ui_input: Only render number field border on focus (#46165)
The `NumberField.render` method was always rendering a `border_1` for
the number input, even when not focused. Even though it was using
`cx.theme().colors().border_transparent`, some themes don't have this
value set to a fully transparent color so it ends up looking a little
bit weird.

As such, this commit updates the way the border is rendered, to ensure
it's actually only rendered, i.e., the `border_1` method is only called,
when the field is actually focused.

Release Notes:

- Improved rendering of border on number field's input to ensure it's
only rendered when the field is focused
2026-01-07 10:52:51 +00:00
..
src ui_input: Only render number field border on focus (#46165) 2026-01-07 10:52:51 +00:00
Cargo.toml settings_ui: Add pickers for theme and icon themes (#40829) 2025-10-21 19:58:43 -03:00
LICENSE-GPL