FloatingTile ADSR custom GUI doesn't work adding data
-
@arcy Is there a reason you can't set those properties in the interface designer?
-
@d-healey No really...Simply I wouldn't like to have a hybrid solution and so I prefer to do all with code..
-
@d-healey And also it's useful to create multiple Floating Tiles with a single function passing parameters...
-
@arcy Can you post a snippet?
-
HiseSnippet 1437.3oc0X0saaaCEVJIJs1socEXE6xQXrKRA7Zs855F5vPShsSq2hiMhR+4tBVI5HhHSJPQmDih7tsK2k6QXOB6MH6PRIKIGWWW2tz0fjBwy4Pxuy+G19BtGINlKrrKc33Hhk8McbGyjAMCvTlUmVV12xoKNVRDHCocFGgiiI9V11q9TEA6RqYo+4edxN3PLyijQxx5EbpGYO5PpLiZ+s9cZX3tXexgzg4j9ga0wiyZxC4i.7rpSMqHr2w3iH6iUhshik85s8oRtvUhkjXPlc39icC3mxLx+BZL8MgD0h5VtvAYHa0LfF52OUWisrrc5mo4qZz7u1oK0mNgdlE3qzLPY6HuMvdk4Ao5e.PxNGjVy.o6335InQxLNJ7bCmNLvgL.Cl57PwHq0Je6pNM4fDL48GhOlrq.VLYGa9nZ0phf+4d+R4xLvvFCFYBZ6VtGfda4RTVHkQPCFw7jTNC4IHfdsoRvpnHr.NzpnyphFWEcZUTv8T6oTH2CGhv9wBzuhRuZru+tgbrjxN5PZX5Qn1JbykJkJVLQocQDgjRhAnN72b6sehvpytTEys1jOLhyfOp73Tbn4dJ0WF.zN0rLfPOJPISfY8aNxDOATLeDeeAw2viJICuD2SC.xSyuwzB.7OWqFvuO3AGztauWzF0sM5vdH21sQMet6g85hZ1audO+.2IVHIXGZgkXvJYTMkWtxiqr8y.q+SE3nfJladh+tiObyU1taesCJgaGlO4Lf92W2rdWdXH+zWxEGq8k.mA3vXMFUPT4WTl4DKtB.alhjLcn89sPSzCfhfHGIXZmJHy4kOubYEDteR.QEEiJUQU5iYjP3i50L+0nl9CH7ZRLDmsOWR5w17dkA0FNIzzrFLXl7THV.JGQLS1ppGh4swMYiF9FhnJ5Db3HxDAgzqh4rquX4rdFCXNA4rNLprWDIYM3I7U4hpuubFtUhG.954cTVeUReBsrb.fVKxIPUSSIfRNsHwGK4QZYSxA.HK0b2Hs.gxKXQgq9ZNluOCpwYqppNN8CclRV01waYxUlP4ODaU3J1PlTVzbE4Sl02z5NpX.yEUN8hJm6hV+OSZBL4hV2OgRZZohlk0EWnnkktondwESSsQdxSUTHSuSrmoMyxRsrjjyj4uUyOZ+f8dNusLBMm7NfY9zNX46Jq6bnA2kJjCsP39iBwxh8UTMPSX.AtEJlqJXyhoxw4avNcyl0d2At0xE3lEVNqFOKJbuiSepzKX13ckYfWH79iEu0eO3Mo08FNsGLf3Iy.6ZN69p41m9SNTtqAJ2v4k3SH5Ynz.4t50C3hgnmRXDgxlVeNSQ8WK5TTQK7TT87j.DNTfYwQ7XR87m7T7ZjmWKnE.qn3FREjRod6BpWN4t9VoDajmHjfV3vf0ENotzyxV92OoMCCNDWBnM98h8.kUY6xmNzeDjv8RU0l542XF4F4I+LrvG7KdEBPWcgiJx2InXdaN4mwXcq+YXRyZycRyqt5SKMDKLL7sMX7Zlh4ZnU1Is1bAP0ky3QAbFsfS9.hTPO5HRgXmYh+skR3EGMGINgTLp2CO9RTMBmOwyPYOxIPenbB9LnFR15uaK8wkusq6nXYgh.JLGRvwERqa6wAeAYIs2e.uGZdwDa3XTRjtny+8Mrp+QD+dqTrZ7H++Fr2zQGV7kfc81NIAreQXXukSRtzWBl14Ni0pKzLVeRZKr7yUcEzUBlS.8YoqzhBwuwAlWoAR6JQed7kGvGodrVWLz5S8Bs8GMzEFHzi.njAuSJV8XsUTuI0rtV5qDcILe8B0KsRXVWs1NgY8TlWI2wPrmf+ZOy64UMpttlBn2L8+ofkb5pVipaoeiedi4PXTpW64U7ntzFarra7GV1M9vkci+3xtwGsra7mV1M9yu+Mplzc6QR9PStAL9e+1lGiaal7WmlX8uf0QFv.
-
@arcy That's working here, I think you'll need to include some laf in the snippet to show the issue
-
@d-healey Are you sure? I wrote a comment in the code, you have to remove that part to see the custom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.bCj46SsqEO0dQRDVNgoaYhwlQ4WkaUPUqqRKLZTkc5bhFWCo8+ZEhbqXTl4iLEs1ukp4YJZsfTJYgyZZY3KOLUS87yO+yKRsYJ4eQS9BIS42+T6ZVqs7ZDNJ5opKq0D+g6tn2UAimSADfoc8CX46q7wYP6tKUJGZhHBlDQTE6rnamlx.BZKTNWWxlGyTSsa29OV6lqKDuGZ.S4Gd0Xbkq.iPn8GBLl1jdcTmgCo9pb.tJZme9CSGYa0eei5uE50jioISKkn76mrdnPNB+bJmJ01tFyYdoe+5Nuz3q87R88U.DNPR3wiEwzF1m7E30zlWanzNun3FREjRe81AtdVxcysxH1zlHj7U3vf0ENodLqBS+wS6vIfSviB2lf9w9vkUa6rC0GLARldstRRC6MlStoM4WPjAfewuPfXo4M5XiEbzw0V5Fc7+AkaJLc6cMX7FlZyIPqBJqTaAP0SvEiCEbVA+59Tkjc3gzBgKWI92VofmSzZh7XZw.cexzKQ0Hrctlgxtzig1JVB9BH.Ie8WrUxwY2E0aRrpPduFyQTRbgL4N9BvWPWP6ci4auQWyXh0QlKINoNyxW+m6jgOiWX4Cf2Fk39WVse2EkFLtzZ.uCJM2XY0DN2QfJ8QyHPyuyBzdGuTOH6mgfwLZhSbk3+a7k6Klne+TOBz9R+no8lLxCliymBnjCOcQ+HT2UzOWzrttdsFBdTdPxB3wOmmxrgdsaJyFYL+WQGiH9Rwa7MOuV2r4lITf6MO4+0txnd503FNIO411XNBFG5M99EOpKswlK5F+5EciOZQ232rna7wK5F+1Ecie2e+F0Sqt8DkXjI2.lZePGy6icMCrmjl37Wz4FjqC
-
@d-healey oh my... it works simply inverting the code...thanks! :beaming_face_with_smiling_eyes:
-
-
@arcy said in FloatingTile ADSR custom GUI doesn't work adding data:
it works simply inverting the code...thanks!
Yeah I think the issue is that when you set or change the floating tile type it internally resets the colours. So by flipping the order of operations we can get the desired behaviour.