JSUI rendering text with black background
Had a quick look at previous forum posts but came up with no answer… I am drawing text into a JSUI but, after compiling the JS file, the text appears on a black background, and as the text is black this is a problem! If I resize the JSUI object the text redraws properly, with a transparent background. How can I fix this? (JS file attached)
here’s a work-around which will sort it out – you need to give the jsui object the appropriate scripting name (‘routerUI’)
----------begin_max5_patcher---------- 506.3ocwV9zaaCBFF+r8mBDsG1j7p.brSb6odrWlzNrSqUSDaVBa1fEP1xVU +tOCXuF20+33l5bALOfgm2e79J6aCCfKkaYZH3bvW.AA2FFD3jrBAsiCfUzs 4kTsaYPA6WxkeGF4mxv1Zbx0z7ezIJ1TI2XJYF2afaU8RleWy7GGDBtocpZp IeMWr5qJVtwOaxhjyPQ.bBx1EmZaIMO+u24aRgQPqbaF7REmV1c77BmViK+. Y9NdhK5rDYm8Py+iaOvjyPV06BCsMQuNbv1Vq.JpnPV8t3zjquNJdN58GR.k hbjAS7cwwijPoOJgvSJglkYITBJ4fRnj4Nzj85.Dlbj.TAqrwtn8jHKohUOO UxlYAQpiJ9pqQ.kriTcUojV3Bw2FpDitmMifJKdqSUpXZMcE6+vhNWwqM.MS T.TMQOS84q.8BS.NELKAbJFbJ4fVjMyWdsvyrj49Q6M5RORITl0bsKrXpGGK jmDKQCCMDrOoJajIUn8JopUVS+YmOO4iVm1KNAvKrMm7IaaSNiWAbyNX0YRX IW7v+NvsIV89rVK2nx6NxthAv8wZASa3BpgKE6tnrdKZMunf4luKNp3E0Rtv zZhdVLZu8j82AdYOkNsdJc.dxYb7j4oGbs7DdZZ4zf7j8i0SomFxcms.dJ8D Yn4Si0SMCtK7ufxfQ2E -----------end_max5_patcher-----------
but prevention would be better than cure…
You’re right though, prevention is better than cure … does anyone know if there is a prevention for this problem?