Fix CMD+A backspace issue

- Closes #272
main
Mike Fix 7 years ago
parent b9b22f8034
commit 1b5ed6a60c

@ -461,5 +461,6 @@ export const DEFAULT_SETTINGS = {
lineNumbers: false,
exportSize: '2x',
titleBar: '',
watermark: false
watermark: false,
squaredImage: false
}

@ -238,7 +238,7 @@ class Editor extends React.Component {
onAspectRatioChange={this.updateAspectRatio}
updateTitleBar={this.updateTitleBar}
>
{this.state.code || DEFAULT_CODE}
{this.state.code != null ? this.state.code : DEFAULT_CODE}
</Carbon>
</Overlay>
)}

Loading…
Cancel
Save