Skip to content

Commit

Permalink
move delete button away from commonly used ones
Browse files Browse the repository at this point in the history
  • Loading branch information
jon gadsden committed Sep 14, 2022
1 parent 48ea562 commit ee286c6
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 12 deletions.
12 changes: 6 additions & 6 deletions td.vue/src/components/GraphButtons.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
<template>
<b-btn-group>
<td-form-button
:onBtnClick="deleteSelected"
icon="trash"
:title="$t('threatmodel.buttons.delete')"
text="" />

<td-form-button
:onBtnClick="noOp"
v-b-modal.shortcuts
Expand Down Expand Up @@ -31,12 +37,6 @@
:title="$t('threatmodel.buttons.zoomOut')"
text="" />

<td-form-button
:onBtnClick="deleteSelected"
icon="trash"
:title="$t('forms.delete')"
text="" />

<td-form-button
:onBtnClick="toggleGrid"
icon="th"
Expand Down
13 changes: 7 additions & 6 deletions td.vue/src/i18n/en.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,12 +124,13 @@ const en = {
publicNetwork: 'Public Network'
},
buttons: {
shortcuts: 'Keyboard Shortcuts',
undo: 'Undo',
redo: 'Redo',
zoomIn: 'Zoom In',
zoomOut: 'Zoom Out',
toggleGrid: 'Toggle Grid'
delete: 'Delete selected',
redo: 'Redo edit',
shortcuts: 'Keyboard shortcuts',
toggleGrid: 'Toggle grid',
undo: 'Undo edit',
zoomIn: 'Zoom in',
zoomOut: 'Zoom out'
},
shortcuts: {
title: 'Shortcuts',
Expand Down

0 comments on commit ee286c6

Please sign in to comment.