ui: Add buffer_font method to labels (#24479)
Now you don't need to wrap the `Label` in a `div` anymore Release Notes: - N/A Co-authored-by: Danilo <danilo@zed.dev>
This commit is contained in:
@@ -86,3 +86,9 @@ impl Color {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
impl From<Hsla> for Color {
|
||||
fn from(color: Hsla) -> Self {
|
||||
Color::Custom(color)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user