Use the current stroke paint API in Properties

This commit is contained in:
yoriswind committed 2026-11-26 15:04:58 -08:00
1 parent f5e20a4619
commit 65c031d068
1 file changed
+1 -1
@@ -102,7 +102,7 @@ fn effect_delete(app: &mut VectorcraftApp, ui: &mut Ui, id: NodeId, effects: &[(
/// 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.
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 };