[2]: "SendIndex" | 2.00
that's the one.
[2]: "SendIndex" | 2.00
that's the one.
@DanH Ah I see what you mean. If you skew a slider with the middlePosition attribute it starts to be very choppy at one end of the slider range. But that's just an arbitrary limitation set by the step size and for some reason I've deactivated the ability of setting the step size to zero.
I can add a new step size option 0.0
that completely removes the stepping, but then you definitely need one of the text converter modes (eg. Frequency or Decibel), or it will look like this:
@aaronventure how are you doing state management if the webview is trashed when you close the interface?
@DanH no that would require some hacking in the JUCE slider class internals. What are you after here?
So as soon as you connect a source the dragger appears permanently
Ah sure, now I understand. I can take a look at how to approach this but this could be a bit more tricky because the draggers are designed to be removed / added regularly so I would have to make sure that they are updated with modulation changes correctly.
Ideally this would be a API method of the ScriptModulationMatrix (something like mm.setHoverPopupPersistence(true)
or something.
@DanH yes, just change the look and feel method to not return any areas for the draggers, then it shouldn't show up on hover.
@DanH yes this is also fixed with the latest commit.
@Christoph-Hart Alright that's fixed now:
By the way is this callback functioning yet?
Yes, but I forgot to push the documentation & example snippet, that's here now:
https://docs.hise.audio/scripting/scripting-api/scriptmodulationmatrix/index.html#setsourceselectioncallback
https://docs.hise.dev/tutorials/ui/index.html#exclusive-matrix-modulation-source
@Christoph-Hart oh but since the example clears out the connections in the onInit callback I cannot reproduce your connection setup that reproduces the range issue. Can you remove that line (44, matrixHandler.clearAllConnections("");
and reexport the snippet?
@DanH ah yes I can reproduce that, it's a simple oversight on my part.