mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-12-05 13:32:45 -05:00
A dialog's modal layer dims everything but the canvas the dialog registers. Blend Options, the envelope and path dialogs, Split Into Grid, Flare Tool Options, Justification, Proof Setup, Swatch Options, the Tangent Circle radius dialog, the add-on dialogs and the command dialogs with a Preview box registered no canvas, so the art they previewed was shown dimmed and the wheel over it did not scroll the view. dialogs::host::preview_canvas gives the current window's canvas, and PreviewsOn::previews_on registers it when the dialog previews. The add-on dialog host registers it for every add-on dialog. Blend Options with no blend selected sets the defaults for new blends and previews nothing, so it still dims the canvas. Part of #10590.