Render a close tab button on tab hover
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
This commit is contained in:
co-authored by
Max Brunsfeld
parent
bb95d58c79
commit
eca9f495a1
+3
-1
@@ -1,3 +1,5 @@
|
||||
use std::borrow::Cow;
|
||||
|
||||
use serde_json::json;
|
||||
|
||||
use crate::{
|
||||
@@ -51,7 +53,7 @@ pub struct Glyph {
|
||||
pub struct Icon {
|
||||
pub bounds: RectF,
|
||||
pub svg: usvg::Tree,
|
||||
pub path: String,
|
||||
pub path: Cow<'static, str>,
|
||||
pub color: ColorU,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user