Skip to content

Commit 731ded6

Browse files
committed
update screenshot and fix line numbers
1 parent 30d43d3 commit 731ded6

File tree

2 files changed

+1
-0
lines changed

2 files changed

+1
-0
lines changed

screenshot.jpg

101 KB
Loading

web/components/Editor/Editor.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,7 @@ export default class Editor extends React.Component<{}, IEditorState> {
275275
private changeTab = (i: number, cb?: () => void) => {
276276
this.setState({ activeTabIndex: i }, () => {
277277
this.codeflask.updateCode(this.tabs[this.state.activeTabIndex].value);
278+
this.codeflask.setLineNumber();
278279
if (cb) {
279280
setTimeout(cb, 600); // note; hack using setTimeout because codeflask uses a timeout on update code
280281
}

0 commit comments

Comments
 (0)