mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-5377] Viewer: Image Crop (#6977)
* changed dependency * Update lib/core/viewer/components/img-viewer.component.ts Co-authored-by: Denys Vuika <denys.vuika@alfresco.com> Co-authored-by: Denys Vuika <denys.vuika@alfresco.com>
This commit is contained in:
@@ -34,6 +34,14 @@
|
||||
(click)="rotateImage()">
|
||||
<mat-icon>rotate_left</mat-icon>
|
||||
</button>
|
||||
<button
|
||||
*ngIf="!readOnly" id="viewer-crop-button"
|
||||
title="{{ 'ADF_VIEWER.ARIA.CROP' | translate }}"
|
||||
attr.aria-label="{{ 'ADF_VIEWER.ARIA.CROP' | translate }}"
|
||||
mat-icon-button
|
||||
(click)="cropImage()">
|
||||
<mat-icon>crop</mat-icon>
|
||||
</button>
|
||||
|
||||
<button
|
||||
id="viewer-reset-button"
|
||||
|
Reference in New Issue
Block a user