Open jfo8000 opened 3 years ago
The "close to working" is I am stuck in an odd square text editor which I cannot drag into. Also the placement of the dropdown is in the wrong spot. Any thoughts there appreciated.
Just wanted to post an update. I was able to successfully load the editor - looks like however I did my block editor definition was incorrect. So I now have this version successfully loaded up in BuildBee as an extension.
The original bug about decimal points in the protractor editor still stands.
Looks like might be related to this change https://github.com/microsoft/pxt/pull/6026
https://makecode.com/playground#field-editors-protractor
Load up the protractor example Add a turn block Try to type 22.5 Result: floors to 22
With nashing of teeth I managed to fix it in my version... though I am having trouble with the editor coming through as a square block instead of a round one.
To work around the precision problem I called:
this.setConstraints('0', '360', undefined)
Here's my 360deg protractor. It's close to working