Laf knob story
-
I made a simple line knob with laf, but when the knob is set to the max, the pointer goes out of the boundaries. any ideas?
HiseSnippet 998.3ocsVstaaaCElxwpnR6BVA5C.Q9kxPhgbZR2.JBVtYWXrjTi3thUTzUPKcrMmoHEnnchWQ+ydxxizdC1NTRNRoyMKv.i+w5bke7vy4ituVEAYYJMww60KRAhyW6NXgzL4jILtjz6TTualjmlBFxwKRYYYPLwwYiWZM630jju9qe5XlfIifJUDxaT7H3LdB2Tos+g+LWH5xhgWySp48dG1KRIOQITyPnrgaHIkEMkMFtfYcqgKw4Qch4FkdfgYfLhSyiUwKFLQckrv+2vy3CEfUnMY.lnB0cUhXKhseSNYBWD2e4QNifYoeUAXihBvScOmGyuUeUg36xMPqhnd8vowcg2F2Ads+RvaEPxoFjZV.om3NHRySMUVr34qb6IMfdDCK60gRgujFlFtmnPOjlVIroPWMJbaDA6te31z8BC25E999XsOyPmyzTAaD8.ZG4XtDZEoA7z7RgZHSTj0yTpoGIi6BfHvFI5dKMLlmgos6LYjgqjAaFqYWcoxvzKFH3wfdysoiVZb71T0veeK+O5S4inA32sLv0F5AGP27LXNHNGvbs4VTeJk9QeOKnXHjrNxP77BeOeuwsFgsQGIDAgWueX67EBGOZwpHJyDdzTIVuvneddXVsyAsIUkUlw4LwL3BkNgI3+ADm6EVzxTBnUplKMAk9aytW9NmAlh9zfhexZozL4XPCwVmJf1kpYRru6RHxf1DPv6vpM6cO68zcpgqcnAVca88kah0kce+1UdfeG1BOYd9zOgP6S4WV10xxIUIuPYfWICrUTzCe5maZznUZy1ZnUBAnWoY63o99BLPNKYHn2llWBu0Qrm8tCBO5gMHDUzoVyQkrmjadUJTJWMI2dEiMjxVc6.TIBQWM4iOea43SQyHgGaY4p50H4mfJtn2dC4W5cJyvVlKLs3Vkh2Qb6Ix4TXNxrULZ54dJjM0nRy8MIUIsfvw+gsyWWaWObQkvucXRc502dSB655TqI73XAzWkwsWJUV5cShJtDUQ7gffbEO1Lg335Dflm.7wSLVo+LmL9eQzfTbp3YBl4t7dVx9RC1sqNYikPQhvXQ8GC9bxvle4dfvUxUuxa3GHbehaetIZxpwaiUfW7Z9+a7V9zx231YzHjRnBrMc69q266HMeXiO+GPAoiLb43yYFMGajbuXVx.j5JBPjHkfHy1SzvNEUHGZksUlAfLNW3uwUow1VYmRisWZjjvhzpODUL6YeH6w4ZPLIyeC2y8bqLs8x4MW2vVg1VY9GhhrkhcPru5X1cMh4YqQL6sFwr+ZDyyWiX9g0Hle7diw92YNZlQkTLlfJ52Im2ywoijgcY4cjj+ATD97xM
-
just subtract the thickness from the height before you multiply it with the vertpos in the y position
HiseSnippet 985.3ocsV8taaaCDmxIZXR6OXEXO.D4SJCNFxoIcCnHXNI1tvXIoFwcEqnnqiV5rMmoHEnnchWQ2yVej1av1QI4HkM2hBiU9Eq6te2we73cG8PsJBxxTZhi2yVkBDmuzczJoY14yXbIYPWTualjmlBFxYqRYYYPLwwYmmXM63sKIe8W+3YLASFAUpHjmq3QvE7DtoR6vN+DWH5yhgmwSpg9nNChTxyUB0BjJ63FRRYQyYSgqXVXMbINeVuXtQoGYXFHi3r6Yp3UilotQVf+47L9XAXEZSFgApPcekH1xXqVx4y3h3gqOxYDLJCqR.6Tj.9V2K4w76zWkH9lbCzJOpmObZbe5sy8nW65zKrF81.kbpQocKnzCbGEo4olJKV97EtCjFPOggo85To.Kowe1v8bEhPZZkvlC80nvcdDb3wgMoGEFt+i888wbelgtjooB1D5IzdxobIzJRC3o4IB0XlnHpWnTyOUF2G.Qf0SDdKMLkmggs+BYjgqjA6EqY2bsxvzqFI3wfdulzIqMNsIUM9222+M9T9DZ.9cKCbqgdxIz8t.VBhKALV6sO0mRouw2yRJFRIKPFxmG6646Ms0DrL5TgHH71iCamuP53QKVEdYlwilKw7E58ixcypcInMoprxHtjIV.WozILA+Of3bTXRKSIfVoZtzDTh2Fcu7cNCLE0oAE+j0RoYxofFhsfJn10pERrt6ZHxf1DPvKwrM6kO7UzCpwqCnAVcGbml8+txsyB9vW0rBK9cXK7L54SeKRx2lesYWqSrTk7JkAdpLvlaQD9z+soIS1nMaQhVIDfdilsMp5OjiAxEIiAcSZdx7NfX068aIbe+sD06XiJpYqATIGH4lmlBx2WeLorP219TxJDpIu44qKadJJEI7X6LtpJMRNqqO2h7yC5xLr0wBCKtUo38B2dJb5BKw4ZEMldtcgr4FUZN1jTkzRBG+Otc91pc8EcVUI7qcRpOb8EuKgcacBlviiEvPUF2dQTYYv6RTwkrJhOFDja3wlYU.51YFvmNqZdbmeqC4+NtAGzohWHXl6O8yNxuzfcaqOxwNVQhzYU8mD9eaj3GKEef6PtIZ1l4XiMvQ7J9SAGKeH4qb6MYBN.nhf651+W9z7pAAG3X3xoWxLZNVr3d0hjQ3voH.2coDD19OmF1NkB4PqrMCLBjw4B+MtJM11J6TZr8ZijDVjV85nh9K6SUedtFjSx7Wo8buzJSautmx0MrUnsbk+5nH6w+.r4cy9b3V3yC2BeNZK743svmGsE978agO+vGzG6eX4zEFURQ6.pXXu7YaNN8jLrxJuJj7OI7usoA
-
@ulrik Wow, I wasn't good at Geometry when I am at school :)
Thank you so much hero!