* Update pxtarget.json
Enable addNewTypeScriptFile so that you can split your code into multiple files. Enable blocksCollapsing to collapse blocks for convenience. Turn off highContrast it doesn't work now. We'll see later...
* enable-errorlist-option
* Update pxtarget.json
Co-authored-by: Joey Wunderlich <jwunderl@users.noreply.github.com>
---------
Co-authored-by: Joey Wunderlich <jwunderl@users.noreply.github.com>
* Update colorGrid.ts
* Update ns.ts
Added option to select emptiness (nothing) for the colorEnumPicker block.
* set-new-names-for-color-cells
Set new names for colored cells that pops up when hovering over an element. So the user will understand the color.
* Update sim/visuals/controls/colorGrid.ts
Co-authored-by: Joey Wunderlich <jwunderl@users.noreply.github.com>
---------
Co-authored-by: Joey Wunderlich <jwunderl@users.noreply.github.com>
* Update targetoverrides.ts
Convert old blocks to obsolete ones, new blocks differ in that you can specify the place to start printing along the horizontal axis of the screen (column). And also added a print style. These are the standard black text on a white background and the new white text on a black background. These two parameters are optionally expanded and optional, by default column = 1 and the print style is the same as before, black text on white.
* Update targetoverrides.ts
* Update libs/screen/targetoverrides.ts
Co-authored-by: Joey Wunderlich <jwunderl@users.noreply.github.com>
* Update libs/screen/targetoverrides.ts
Co-authored-by: Joey Wunderlich <jwunderl@users.noreply.github.com>
* Update libs/screen/targetoverrides.ts
Co-authored-by: Joey Wunderlich <jwunderl@users.noreply.github.com>
* Update libs/screen/targetoverrides.ts
Co-authored-by: Joey Wunderlich <jwunderl@users.noreply.github.com>
* Update libs/screen/targetoverrides.ts
---------
Co-authored-by: Joey Wunderlich <jwunderl@users.noreply.github.com>
* redesigned-code-to-support-ref-raw
Code that adds reflection raw support for the color sensor. The range of values for this is from 0 to 1023, because analog to digital converter is 10 bits. In fact, the color sensor gives values of about 400 - 700, but I decided to leave the range, which could theoretically be. For other cases (reflections and ambient lighting), the range remains from 0 to 100. The average value when setting the mode in the simulator is displayed as 512, for other modes 50%.
* block-description-update
Block description update, as it did not take into account the mode of raw reflection values.
* correction-of-displaying-pictures-in-different languages
Correction of displaying pictures in different languages. The category options values were translated into different languages and the translated values could not be checked against the values from icon.jres.
* element-layout-fixes
Уlement layout fixes, for more readable blocks
* Update fieldeditors/field_music.ts
Co-authored-by: Joey Wunderlich <jwunderl@users.noreply.github.com>
* Update fieldeditors/field_music.ts
Co-authored-by: Joey Wunderlich <jwunderl@users.noreply.github.com>
* tag-lang-tag-for-languages-other-than-en
The tag is not needed for English, because in the html tag it is already always set.
---------
Co-authored-by: Joey Wunderlich <jwunderl@users.noreply.github.com>
When the program starts, when the showBoot() function is launched, the screenMode is checked and the showPorts function is launched, which in turn executes the renderPorts() function in a loop. While renderPorts is running, the screenMode may change, for example to ShowLines (when showString() was run). It may turn out that the mode has changed, and the renderPorts method has not been fully executed ... in the future, it will draw its own graphics on the screen, although we do not expect to see them already, because. a regime change has occurred. I added checks inside the function before displaying.
* sim_fix
ES version update
* fieldeditors-es-upgrade-to-es2017
Update es to fix issue with fieldeditors.
* editor-es-upgrade-to-es2017
Update es that fixes an issue with the editor.
* editor-download-dialog-fix
Solving a download error that arose due to problems with the buttons in the dialog box.
* return_field_motors
We return the fieldmotors field, because it is necessary about the choice of types of motors: medium, large, one or two.
* update-fields-for-motor-blocks
Set the blocks to the fieldmotors field. Change the name of the blocks for the motors.
* enable-debugger
Instead of the slowmo mode, which was before, a debugger was added, in which slowmo is present.
* fix-field-music
It turned out to update the fieldmusic menu. The menu is now displayed in the correct position.
* Update field_music.ts
* fix-field-brickbutton
Fixed issue with button select menu position from ev3 brick.
* Update dialogs.tsx
* Update field_motors.ts
Repartition of Label for fieldmotos, now it's more readable, it's better.
* motors-new-icon
Created new icons for motors for dropdown image.
* remove-ai-files-for-motors-icon
Remove ai image files for motors
* cooperate pause
* fix math
* update lastPause before pausing
* faster cooperation
Co-authored-by: Peli de Halleux <peli@DESKTOP-5B7QRAM.corp.microsoft.com>