Skip to content

Commit e6c437f

Browse files
gonfunkosebjacobs
authored andcommitted
chore: don't specify the renderer/theme (scratchfoundation#20)
1 parent 661533e commit e6c437f

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/containers/blocks.jsx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -119,10 +119,6 @@ class Blocks extends React.Component {
119119
this.props.onActivateCustomProcedures;
120120
this.ScratchBlocks.ScratchMsgs.setLocale(this.props.locale);
121121

122-
const theme = this.ScratchBlocks.Theme.defineTheme("Scratch", {
123-
base: this.ScratchBlocks.Themes.Zelos,
124-
startHats: true,
125-
});
126122
const workspaceConfig = defaultsDeep(
127123
{},
128124
Blocks.defaultOptions,
@@ -131,8 +127,6 @@ class Blocks extends React.Component {
131127
rtl: this.props.isRtl,
132128
toolbox: this.props.toolboxXML,
133129
colours: getColorsForTheme(this.props.theme),
134-
renderer: "zelos",
135-
theme: theme,
136130
}
137131
);
138132
this.workspace = this.ScratchBlocks.inject(

0 commit comments

Comments
 (0)