fix polygon tools

This commit is contained in:
visionmercer 2026-05-19 10:44:29 +02:00
commit 1983b3b32d

View file

@ -615,7 +615,7 @@ if state.isdrawing then
for i = 0 to ubound(finalP) - 1 for i = 0 to ubound(finalP) - 1
tmpstr = tmpstr + tst(finalP(i)) + "," tmpstr = tmpstr + tst(finalP(i)) + ","
next i next i
tmpstr = tmpstr + tst(finalP(i)) + "," + hex$(state.fcolor) + ")" tmpstr = tmpstr + tst(finalP(i)) + ")"
addcommand tmpstr addcommand tmpstr
' Clean up local tool state ' Clean up local tool state
@ -672,7 +672,7 @@ if state.isdrawing then
for i = 0 to ubound(finalP) - 1 for i = 0 to ubound(finalP) - 1
tmpstr = tmpstr + tst(finalP(i)) + "," tmpstr = tmpstr + tst(finalP(i)) + ","
next i next i
tmpstr = tmpstr + tst(finalP(i)) + "," + hex$(state.fcolor) + ")" tmpstr = tmpstr + tst(finalP(i)) + ")"
addcommand tmpstr addcommand tmpstr
' Clean up local tool state ' Clean up local tool state