perf(ribbon): build only selected density after measuring

This commit is contained in:
Karim Jerbi committed 2026-10-18 11:46:11 +01:00
1 parent 140303217f
commit f0479a5fc6
6 files changed
+260 -63

No files matched your search

+1
View File
@@ -321,6 +321,7 @@ pub(super) const PROP_LW_ID: &str = "PROP_LW";
// ── Style context (passed from Ribbon to render_large) ────────────────────
#[derive(Clone, Copy)]
pub(super) struct StyleContext<'a> {
pub text_style_names: &'a [String],
pub active_text_style: &'a str,