bitfocus / companion-module-songbeamer-osc

Songbeamer OSC Module
MIT License
5 stars 0 forks source link

Merge "navigate_to_playlistitem" and "presentation_page" actions into "navigate_to" if possible #28

Closed bensteUEM closed 1 year ago

bensteUEM commented 1 year ago

At present there are 2 separate actions based on either relative or absolute changes of navigation. Ideally both should be integrated into one with textinput beeing only visible in case absolte change is selected from dropdown.

bensteUEM commented 1 year ago

vor 1 Stunde The isVisible property sounds like it can do what you want eg https://github.com/bitfocus/companion/blob/beta/lib/Internal/Surface.js#L41-L48 vor 1 Stunde In your case, something like isVisible: (options) => options.navigate_to == '4' Assuming the new 'slide number' option has a value of '4'