mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-24 06:52:40 -05:00
Merge pull request #1153 from vincentbriglia/issue1551
Add option for Extensions to have different colour
This commit is contained in:
commit
eae258cce6
2 changed files with 5 additions and 4 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -10,8 +10,9 @@ npm-*
|
||||||
/.nyc_output
|
/.nyc_output
|
||||||
/coverage
|
/coverage
|
||||||
|
|
||||||
# IDEA
|
# Editor
|
||||||
/.idea
|
/.idea
|
||||||
|
/.vscode
|
||||||
|
|
||||||
# Build
|
# Build
|
||||||
/dist
|
/dist
|
||||||
|
|
|
@ -498,9 +498,9 @@ class Runtime extends EventEmitter {
|
||||||
name: maybeFormatMessage(extensionInfo.name),
|
name: maybeFormatMessage(extensionInfo.name),
|
||||||
blockIconURI: extensionInfo.blockIconURI,
|
blockIconURI: extensionInfo.blockIconURI,
|
||||||
menuIconURI: extensionInfo.menuIconURI,
|
menuIconURI: extensionInfo.menuIconURI,
|
||||||
color1: '#FF6680',
|
color1: extensionInfo.colour || '#FF6680',
|
||||||
color2: '#FF4D6A',
|
color2: extensionInfo.colourSecondary || '#FF4D6A',
|
||||||
color3: '#FF3355',
|
color3: extensionInfo.colourTertiary || '#FF3355',
|
||||||
blocks: [],
|
blocks: [],
|
||||||
menus: []
|
menus: []
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue