Toggle Button LookAndFeel crashes Hise?
-
Does someone use the LAF for toggle buttons?
It seems to make Hise crashing
Could someone try this code and confirm, please?
laf.registerFunction("drawToggleButton", function(g, obj) { g.setColour(colourTheme.blue); if (obj.over || obj.value){ g.fillRoundedRectangle(obj.area, 4.0); g.setColour(colourTheme.darkGrey); } else g.setColour(colourTheme.orange); g.setFont("Heiti SC", 10); g.drawAlignedText(obj.text, obj.area, "centred"); });
-
This post is deleted!