mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-12-04 13:02:50 -05:00
Two fixes for review threads on this pull request. The dialog sent an RGB current fill's working components without keepModel, so in a CMYK document the engine converted the fill to CMYK. While the shown color is left unchanged, the dialog now also sends keepModel: true. An edited color converts to the document's model as before. With New Art Has Basic Appearance off and nothing selected, a preview that drew new art took its new-art paints from that art, and the next preview then put back the paints the interaction began with. A second rectangle preview after a fill preview was drawn with the starting fill instead of the previewed one. The interaction now keeps the paints from before the inheritance and the next preview starts from them. A fill chosen during the drag updates them too. After a failed preview, a cancel or a commit puts back the paints the interaction began with.