1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-29 02:40:05 +00:00

Add the parameterIndex property to all WebView related parameter ParameterAttachments

This affects the WebSliderParameterAttachment,
WebToggleButtonParameterAttachment, and WebComboBoxParameterAttachment
classes.
This commit is contained in:
attila 2024-06-03 14:31:10 +02:00
parent 0d8b05e8ee
commit d61e516bbc
2 changed files with 6 additions and 0 deletions

View file

@ -141,6 +141,7 @@ class SliderState {
label: "",
numSteps: 100,
interval: 0,
parameterIndex: -1,
};
this.valueChangedEvent = new ListenerList();
this.propertiesChangedEvent = new ListenerList();
@ -252,6 +253,7 @@ class ToggleState {
this.value = false;
this.properties = {
name: "",
parameterIndex: -1,
};
this.valueChangedEvent = new ListenerList();
this.propertiesChangedEvent = new ListenerList();
@ -326,6 +328,7 @@ class ComboBoxState {
this.value = 0.0;
this.properties = {
name: "",
parameterIndex: -1,
choices: [],
};
this.valueChangedEvent = new ListenerList();