mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-19 10:19:27 -05:00
Change alt-click to second click
This commit is contained in:
parent
250575acb9
commit
1ba1df2529
@ -39,11 +39,7 @@
|
|||||||
</svg>
|
</svg>
|
||||||
</button>
|
</button>
|
||||||
<div *ngIf="!editing" class="list-group-item list-group-item-note pt-1 pb-2">
|
<div *ngIf="!editing" class="list-group-item list-group-item-note pt-1 pb-2">
|
||||||
<small i18n>Use
|
<small i18n>Click again to exclude items.</small>
|
||||||
<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>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -35,7 +35,7 @@ export class ToggleableDropdownButtonComponent {
|
|||||||
}
|
}
|
||||||
|
|
||||||
toggleItem(event: MouseEvent): void {
|
toggleItem(event: MouseEvent): void {
|
||||||
if (event.altKey) {
|
if (this.state == ToggleableItemState.Selected) {
|
||||||
this.exclude.emit()
|
this.exclude.emit()
|
||||||
} else {
|
} else {
|
||||||
this.toggle.emit()
|
this.toggle.emit()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user