jhoar / AmalgamatedHarmonics

Modules for VCV Rack
BSD 3-Clause "New" or "Revised" License
93 stars 11 forks source link

Add Cardinal specific changes #49

Closed falkTX closed 2 years ago

falkTX commented 2 years ago

Hi there.

This PR adds the necessary changes to make the PolyScope osdialog usage work within Cardinal. Since osdialog calls are blocking, Cardinal does not use it (it is in my opinion very bad practice for plugins to block the main event loop).

Changes to the code are made in a way that compatibility with regular Rack remains intact. Let me know if you have any questions.

Thanks for the nice modules by the way!

PS: Cardinal's message dialogs are built-in the plugin, not OS-level dialogs.

Screenshot_20211218_132513

jhoar commented 2 years ago

Changes merged.