Fix palette swap backgrounds and timeline drop jitter
This commit is contained in:
parent
26fab9392e
commit
7c49c08bc7
8 changed files with 55 additions and 20 deletions
|
|
@ -354,4 +354,11 @@
|
|||
(is (= (pal/render-index context :day 1) (color main 2))
|
||||
"a nil track interval is a real gap and restores the authoring palette")
|
||||
(is (= (pal/render-index context :night 1) (color drawing 0))
|
||||
"the same nested symbol uses its authoring palette when viewed directly")))
|
||||
"the same nested symbol uses its authoring palette when viewed directly")
|
||||
;; The renderer clears with this exact resolver state before rasterising the
|
||||
;; returned ops, so a palette cut changes the stage background as well as
|
||||
;; authored shapes.
|
||||
(main 1)
|
||||
(is (= :night (clip/active-palette main)))
|
||||
(is (= (pal/render-index context :night 0)
|
||||
(pal/background-index context (clip/active-palette main))))))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue