OmniJS Change Notes

We’ll be occasionally updating this thread with relevant changes to the OmniJS support in OmniGraffle (particularly if they might break existing scripts). If you have questions or comments about the changes, feel free to start a new thread.

1 Like

[r283922]

GraphicView.select() was always extending the selection, even though it was documented to set the selection. I’ve made the default behavior match the documentation, so if you want to clear the selection you can pass [].

select() now also has an optional second argument extending which if set to true will go back to extending the selection. For good measure, I’ve also added GraphicView.deselect() which takes an array of Graphics and removes them from the current selection (leaving any other selected Graphics).

1 Like