Merge pull request #6293 from slafebre/fix/new-art-colorized-image

Follow-up to #6252: a selected colorized image gives new art its fill
This commit is contained in:
BFlat
2026-11-09 17:05:00 +08:00
committed by GitHub
3 changed files with 23 additions and 5 deletions
+2 -2
View File
@@ -4199,8 +4199,8 @@ selected) on top of a template. With nothing selected, `stroke.set` / `stroke.se
arrowheads, profile…) and `graphicStyle.apply` (every fill, stroke and effect, opacity, blend mode and the link to the
style; `add: true` stacks it) set that template instead of editing art. With the Appearance panel's New Art Has Basic
Appearance on (the default), a `select.*` command or `layer.target` that changes the selection loads the proxies and
the weight from it: only a paint or weight the selected objects share, and art without paint (a placed image) changes
nothing. With the option off (`appearance.setNewArtBasic {on: false}`, the preference `newArtBasic`) new art takes the
the weight from it: only a paint or weight the selected objects share, and art without paint (a placed image that isn't
colorized) changes nothing. With the option off (`appearance.setNewArtBasic {on: false}`, the preference `newArtBasic`) new art takes the
whole appearance of the last selected object. `appearance.newArt` reports what the next object gets; `paint.default`
resets it.
`appearance.setNewArtBasic` rejects an `on` value that is not a boolean. Omitting `on` toggles the current preference.