Reject invalid New Art Basic parameters

This commit is contained in:
dotCooCoo
2026-11-06 11:15:35 +07:00
committed by bflatastic
parent 3c7d9e1f90
commit 8a730bab6b
3 changed files with 17 additions and 2 deletions
+1
View File
@@ -3721,6 +3721,7 @@ style; `add: true` stacks it) set that template instead of editing art. With the
Appearance 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.
```json
{"name":"run_command","arguments":{"command":"select.none","params":{}}}