v2.0.0
Added mask.undo()
and mask.redo()
setPattern()
now sets/resets the selection
.
Breaking changes
setPattern()
now takes an options Object
for its second argument instead of a String
for the new value. value
and selection
options may be given.
The given (or defaulted) selection
object is now used as-is when setting initial selection. It used to be set via setSelection()
, which moved it to the first editable index.