fix(ribbon): mask tools on start

Refs #494

Refs #507
This commit is contained in:
Hakan Seven committed 2026-08-05 00:52:52 +03:00
1 parent b92b8df997
commit deaecdfb1e
5 files changed
+88 -113

No files matched your search

-12
View File
@@ -223,18 +223,6 @@ pub fn semantic<'a, M: 'a>(bytes: &'static [u8], size: f32) -> Element<'a, M> {
})
}
/// Render a disabled multi-colour tool icon without flattening its colour roles.
pub fn semantic_disabled<'a, M: 'a>(
bytes: &'static [u8],
size: f32,
) -> Element<'a, M> {
Element::new(SemanticIcon {
bytes,
size,
opacity: 0.42,
})
}
fn semantic_handle(bytes: &'static [u8], theme: &Theme) -> svg::Handle {
let key = SemanticCacheKey {
address: bytes.as_ptr() as usize,