mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-27 16:59:43 +01:00
Use the current stroke paint API in Properties
This commit is contained in:
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 };
|
||||
|
||||
Reference in new issue
Block a user