Skip to content

Commit

Permalink
Add missing selection tool
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrunner committed Dec 3, 2024
1 parent 416da42 commit 0894b56
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions src/canvas/ToolButtonsImplElements.ts
Original file line number Diff line number Diff line change
Expand Up @@ -252,3 +252,25 @@ export class ToolButtonRouting extends ToolButtonElement {
`;
}
}

@customElement('gmf-selection-button')
export class ToolButtonRouting extends ToolButtonElement {

Check failure on line 257 in src/canvas/ToolButtonsImplElements.ts

View workflow job for this annotation

GitHub Actions / Continuous integration

Duplicate identifier 'ToolButtonRouting'.
constructor() {
super('selection');
}

render(): TemplateResult {
return html`
<button
@click=${() => this.click_()}
class="btn btn-default ${this.active_ ? 'active' : ''}"
data-toggle="tooltip"
data-placement="left"
data-original-title="${i18next.t('Selection')}"
>
<i class="fa-solid fa-arrow-pointer"></i>
<i class="fa-solid fa-info fa-sm offset-info-icon"></i>
</button>
`;
}
}

0 comments on commit 0894b56

Please sign in to comment.