From b458d505953a951799a4f509d518e4532e26a1e9 Mon Sep 17 00:00:00 2001 From: bflatastic Date: Fri, 27 Nov 2026 05:52:11 +0700 Subject: [PATCH] Properties: the stroke-profile check asks tool_paints, which replaced bucket_paints --- crates/ui-egui/src/panels/properties/appearance_section.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/ui-egui/src/panels/properties/appearance_section.rs b/crates/ui-egui/src/panels/properties/appearance_section.rs index cd71a0f035..b3266b032d 100644 --- a/crates/ui-egui/src/panels/properties/appearance_section.rs +++ b/crates/ui-egui/src/panels/properties/appearance_section.rs @@ -100,9 +100,9 @@ fn effect_delete(app: &mut VectorcraftApp, ui: &mut Ui, id: NodeId, effects: &[( /// Whether a stroke that `stroke.set` edits has a width profile /// ([`vectorcraft_engine::Session::edited_strokes_profiled`]), cached per document revision and /// active Appearance row in `PropertiesUi::edited_profiled`. False while the Type tool edits text or -/// the Live Paint Bucket is active, when the list edits the stroke the panel shows. +/// a tool paints the stroke ([`vectorcraft_engine::Session::tool_paints`]), when the list edits the stroke the panel shows. fn edited_strokes_profiled(app: &mut VectorcraftApp) -> bool { - if panels::character::text_editing(app).is_some() || app.session.bucket_paints() { + if panels::character::text_editing(app).is_some() || app.session.tool_paints(true) { return false; } let Some(st) = app.session.active() else { return false };