Enhanced Button for Y'all
-
Here's a (mostly) drop-in replacement for the default button. It fills the same role, but has more options (e.g., indicator light colour, inactive state, font) for look and feel. For beginners, every line of code is commented. Enjoy.
HiseSnippet 1830.3ocsXz1aZbC9HIW0fsU0Js8cqrOTXiRAJoMYnpVH.InRHQAZSqhphL2YN7xgM5NSRXU4+79Gz8X66fC3fljoc7Aje7y6u4G6S73VDeetmQhjcmLhXj3mL6LgIFr+.LkYzrlQhmXdHdznInFiYntzgDipSFg88I1FIRr4ARrRjbKC02+71pXWLyhLCjgwG4TKRK5PpXFzSd26ottMv1DEGmBuz6ZZwY6yc4iAMZSy7FivVWhcHswRz1vzHwipaSEbuNBrf3ajXqpb6IcFvulow+iTeZOWhbQAiN.izfavcskZrDpw9Cnt1mDZ49F.WNYleXSse3WLOhZSmBOp+PtAZFEQ8GI1Xd0ay4TuBqR8hQkRDQk1RqRO0rikGcjX1NR84GMaxDDu9Xq4CMZbM1f8Xy84.FLQtg3KIM7fESoHcw74yhJjOelxoR8hk9P6eb6NcqztaGzxalJEDq7EnqvdZ7tnUkp0acQUHj0ywiOlYidCJe4P7z3bFw08.OrMETnt7QRLtoQi7puxqDypbgfOL.4R6Vp5NEWfuU4d1DOcpS.d5uxfpqVt2Kge6IW8aMZTr.76UyyhZTeLDbraxroVXHJFga86uCdmd6XUNVJ5LV4MmS5E1q.tfc73WcLXNrtjaDyQxdkfe3ELrlLrkfdEYExnRgZkiE+UHiRUgeMhmj3L7EEBjNbZ2OoCrQf7Y.RgPHm0rV2CA.ECAbX8lGbXW.xKAiaV9RmgXWWsd1.xJ6P+ahjM4iOWr0wG+dTk10PMpWuEpV8FMa2rayiaGapoTHspzPKhtbGG2.GBHfvxAKOBTk1hagcaw4WVgY2fPbSqKEPZhPAT0m6g5P.uDXOohkw47HNTentBZTpvK811d3qihx1YQ8C2zIKh26uxj5qoRBB6.h.gQC4dDjMwWU4BwCDCZ6oDsX.A0Swim4ivfdmKURoIdF01gHp...6B3WN4dkSkTwzl9Qn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