mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-27 16:59:43 +01:00
Merge commit '5c7bbeecaa1e9481eb784f1ffc2062529872505d' into fix/canvas-process-swatch-current
This commit is contained in:
commit
2a971efe75
1 file changed
+2
-2
@@ -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 };
|
||||
|
||||
Reference in new issue
Block a user