View Single Post
Old 09-24-2019, 07:25 PM   #522
Lokasenna
Human being with feelings
 
Lokasenna's Avatar
 
Join Date: Sep 2008
Location: Calgary, AB, Canada
Posts: 6,551
Default

When you delete elements, you have to tell it to redraw whatever z they were on.

Code:
GUI.elms.my_button:delete()
GUI.redraw_z[4] = true -- or whatever the z was
__________________
I'm no longer using Reaper or working on scripts for it. Sorry. :(
Default 5.0 Nitpicky Edition / GUI library for Lua scripts / Theory Helper / Radial Menu / Donate
Lokasenna is offline   Reply With Quote