Add context menu action to regenerate a thumbnail
Signed-off-by: trivernis <trivernis@protonmail.com>pull/4/head
parent
6510e6392a
commit
09f3225aa3
@ -1,5 +1,4 @@
|
|||||||
<div class="menu-anchor" [matMenuTriggerFor]="contextMenu" [style.left]="x" [style.top]="y"></div>
|
<div class="menu-anchor" [matMenuTriggerFor]="contextMenu" [style.left]="x" [style.top]="y"></div>
|
||||||
<mat-menu #contextMenu="matMenu">
|
<mat-menu #contextMenu="matMenu">
|
||||||
<ng-content select="mat-menu-item"></ng-content>
|
|
||||||
<ng-content></ng-content>
|
<ng-content></ng-content>
|
||||||
</mat-menu>
|
</mat-menu>
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<app-context-menu #contextMenu>
|
<app-context-menu #contextMenu>
|
||||||
<button mat-menu-item (click)="this.copyFileHash()">Copy Hash</button>
|
<button mat-menu-item (click)="this.copyFileHash()">Copy Hash</button>
|
||||||
<button mat-menu-item (click)="this.exportFile()">Save As...</button>
|
<button mat-menu-item (click)="this.exportFile()">Save As...</button>
|
||||||
<ng-content select="mat-menu-item"></ng-content>
|
<ng-content></ng-content>
|
||||||
</app-context-menu>
|
</app-context-menu>
|
||||||
|
Loading…
Reference in New Issue