space saving

This commit is contained in:
visionmercer 2026-05-27 11:08:49 +02:00
commit fb5935e4b9

View file

@ -281,12 +281,7 @@ sub toolbox
dim spacing:spacing=1
for i=0 to 19
' Force integer math to keep columns locked at 2
' x will only ever be 0 or 33
x=(i mod 2)*(btnsize+spacing)
' y will only increase every 2 buttons
' Use Int() if your language doesn't support the \ operator
y=int(i/2)*(btnsize+spacing)
if imagebutton(x,y,btnsize,btnsize,icon(i)) then