Skip to content

Commit

Permalink
Replace toggle wireframe button to the right (jupytercad#405)
Browse files Browse the repository at this point in the history
Replace toggle button to the right
  • Loading branch information
arjxn-py authored Sep 10, 2024
1 parent 86a447c commit 97a4abd
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions packages/base/src/toolbar/widget.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -132,14 +132,6 @@ export class ToolbarWidget extends Toolbar {
commands: options.commands
})
);
this.addItem(
'Toggle Wireframe',
new CommandToolbarButton({
id: CommandIDs.wireframe,
label: '',
commands: options.commands
})
);

this.addItem('separator3', new Separator());

Expand Down Expand Up @@ -219,6 +211,15 @@ export class ToolbarWidget extends Toolbar {
})
);

this.addItem(
'Toggle Wireframe',
new CommandToolbarButton({
id: CommandIDs.wireframe,
label: '',
commands: options.commands
})
);

this.addItem('separator7', new Separator());
(options.externalCommands ?? []).forEach(cmd => {
this.addItem(
Expand Down

0 comments on commit 97a4abd

Please sign in to comment.