Skip to content
This repository has been archived by the owner on Aug 6, 2024. It is now read-only.

Commit

Permalink
Merge branch 'main' into playwright
Browse files Browse the repository at this point in the history
  • Loading branch information
pajotg authored Apr 1, 2024
2 parents 35295c5 + c3ae66d commit 6cf22ee
Show file tree
Hide file tree
Showing 9 changed files with 233 additions and 224 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"@fortawesome/fontawesome-free": "^6.1.1",
"@leaphy-robotics/avrdude-webassembly": "^1.3.0",
"@leaphy-robotics/dfu-util-wasm": "1.0.2",
"@leaphy-robotics/leaphy-blocks": "2.0.0",
"@leaphy-robotics/leaphy-blocks": "2.0.2",
"@leaphy-robotics/picotool-wasm": "1.0.2",
"@ngx-translate/core": "^14.0.0",
"@ngx-translate/http-loader": "^7.0.0",
Expand Down
7 changes: 7 additions & 0 deletions src/app/effects/blockly-editor.effects.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,13 @@ export class BlocklyEditorEffects {
Blockly.Extensions.register('appendStatementInputStack', EXTENSIONS.APPEND_STATEMENT_INPUT_STACK)
Blockly.Extensions.register('list_select_extension', EXTENSIONS.LIST_SELECT_EXTENSION);

Blockly.Extensions.registerMutator(
'l_controls_if_mutator',
EXTENSIONS.CONTROLS_IF_MUTATOR_MIXIN,
null as unknown as undefined, // TODO(#6920)
['controls_if_elseif', 'controls_if_else'],
);

// When the current language is set: Find and set the blockly translations
this.appState.currentLanguage$
.pipe(filter(language => !!language))
Expand Down
44 changes: 22 additions & 22 deletions src/assets/backgrounds/flitz_nano.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
44 changes: 22 additions & 22 deletions src/assets/backgrounds/flitz_uno.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 6cf22ee

Please sign in to comment.