Skip to content

Commit

Permalink
fix: color field block
Browse files Browse the repository at this point in the history
  • Loading branch information
felixerdy committed Nov 25, 2024
1 parent 06bf3a2 commit c8c0533
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
13 changes: 13 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"dependencies": {
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
"@blockly/block-plus-minus": "^8.0.9",
"@blockly/field-colour": "^5.0.9",
"@blockly/field-grid-dropdown": "^5.0.9",
"@blockly/field-multilineinput": "^5.0.10",
"@blockly/field-slider": "7.0.9",
Expand Down
2 changes: 2 additions & 0 deletions src/components/Blockly/blocks/sensebox-led.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@ import {
registerFieldMultilineInput,
FieldMultilineInput,
} from "@blockly/field-multilineinput";
import { registerFieldColour } from "@blockly/field-colour";

registerFieldMultilineInput();
registerFieldColour();

Blockly.Blocks["sensebox_led"] = {
init: function () {
Expand Down

0 comments on commit c8c0533

Please sign in to comment.