remove showControls from website code and vscode ext
This commit is contained in:
parent
43fed64f82
commit
c7bf40e3e8
|
@ -9,7 +9,6 @@
|
|||
React.createElement(squiggle_components.SquigglePlayground, {
|
||||
code: text,
|
||||
showEditor: false,
|
||||
showControls: Boolean(showSettings.showControls),
|
||||
showSummary: Boolean(showSettings.showSummary),
|
||||
})
|
||||
);
|
||||
|
|
|
@ -105,11 +105,6 @@
|
|||
"configuration": {
|
||||
"title": "Squiggle",
|
||||
"properties": {
|
||||
"squiggle.playground.showControls": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "Whether to show the log scale controls in the playground"
|
||||
},
|
||||
"squiggle.playground.showSummary": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
|
|
|
@ -47,8 +47,8 @@ export default function PlaygroundPage() {
|
|||
...hashData,
|
||||
onCodeChange: (code) => setHashData({ initialSquiggleString: code }),
|
||||
onSettingsChange: (settings) => {
|
||||
const { showControls, showSummary, showEditor } = settings;
|
||||
setHashData({ showControls, showSummary, showEditor });
|
||||
const { showSummary, showEditor } = settings;
|
||||
setHashData({ showSummary, showEditor });
|
||||
},
|
||||
};
|
||||
return (
|
||||
|
|
Loading…
Reference in New Issue
Block a user