Redraw floating tile
-
After programmatically changing the width of a floating tile the ADSRGraph no longer fits. Could we get a redraw method added, or get HISE to auto-redraw when the dimensions are changed?
-
I found a solution. Set the
"Data"
property to""
and then set it back to whatever it's meant to be.For example
FloatingTile1.set("height", value); FloatingTile1.set("Data", ""); FloatingTile1.set("Data", "{\r\n \"ProcessorId\": \"AHDSR Envelope1\",\r\n \"Index\": -1\r\n}");
-
@d-healey Well done
-
@d-healey it's like changing items in a combobox or Viewport, I have to set it to zero then apply the new items