correct polygon2d saving and editing

This commit is contained in:
2023-09-27 17:36:32 +00:00
parent 7984c90140
commit 98ba229c9c
8 changed files with 58 additions and 31 deletions

View File

@@ -51,11 +51,15 @@ var Log = {
},
write(msg) {
if (typeof msg === 'object')
msg = JSON.stringify(msg,null,2);
cmd(91,msg);
},
say(msg) {
cmd(91, `${msg}\n`);
Log.write(msg);
Log.write('\n');
},
stack(skip = 0) {