Skip to content

Commit

Permalink
fix: the focus in the sketchbook widget
Browse files Browse the repository at this point in the history
Ref: #1720
Signed-off-by: Akos Kitta <[email protected]>
  • Loading branch information
Akos Kitta committed Mar 24, 2023
1 parent 9b49712 commit 6d5dec8
Showing 1 changed file with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -128,13 +128,7 @@ export class SketchbookWidget extends BaseWidget {

protected override onActivateRequest(message: Message): void {
super.onActivateRequest(message);

// TODO: focus the active sketchbook
// if (this.editor) {
// this.editor.focus();
// } else {
// }
this.node.focus();
this.getTreeWidget().node.focus;
}

protected override onResize(message: Widget.ResizeMessage): void {
Expand Down

0 comments on commit 6d5dec8

Please sign in to comment.