mirror of
https://github.com/storytold/craft-libs.git
synced 2026-12-01 02:36:54 +01:00
A browser given a tip painter, row menu rows, drop rules or drag payloads keyed its presets view as changing in every pass, because no key can follow what a closure reads. The Swatches panel passes all of these, so its list ran in every frame. PresetBrowser::host_version and SwatchesPanel::host_version take a version for everything those closures read. While it holds and nothing reaches the presets, the view replays its last run; a new version runs it once. Without a version the view still runs in every pass.