mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-17 18:04:48 +00:00
The apply step counts every event that changes the bound value: a proposal, commit or set, and a cancel that puts the value from before the gesture back. A given binding unsettles on the same events, compared by the value each lands. EditEvent::apply reports Restored only when the cancel changed the value, so a cancel under a commit-only policy, whose place still holds the value from before, counts as no write.