Mark most actions that do not write PS doc or app state as modal safe. Playing get commands should work even when PS is in a modal state, and the adapter should not require those to be played with the canExecuteWhileModal flag. Small consequence: you can now pan the canvas without ending the modal state.
Make setGroupExpansion and setColorStop modal safe even though they do write PS doc state.
Instrument the controller so that it fails fast if there are duplicate read/write locks, or unexpected action properties, both of which are indicative of typos.
Fix a few typos which caused both of the aforementioned bug instances, and also add a few other missing locks.
get
commands should work even when PS is in a modal state, and the adapter should not require those to be played with thecanExecuteWhileModal
flag. Small consequence: you can now pan the canvas without ending the modal state.setGroupExpansion
andsetColorStop
modal safe even though they do write PS doc state.