Change alt-click to second click

This commit is contained in:
Michael Shamoon 2022-02-18 19:35:02 -08:00
parent 250575acb9
commit 1ba1df2529
2 changed files with 2 additions and 6 deletions

View File

@ -39,11 +39,7 @@
</svg>
</button>
<div *ngIf="!editing" class="list-group-item list-group-item-note pt-1 pb-2">
<small i18n>Use
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" fill="currentColor" class="bi bi-option" viewBox="0 0 16 16">
<use xlink:href="assets/bootstrap-icons.svg#option" />
</svg>
+ click / return to exclude items.</small>
<small i18n>Click again to exclude items.</small>
</div>
</div>
</div>

View File

@ -35,7 +35,7 @@ export class ToggleableDropdownButtonComponent {
}
toggleItem(event: MouseEvent): void {
if (event.altKey) {
if (this.state == ToggleableItemState.Selected) {
this.exclude.emit()
} else {
this.toggle.emit()