diff --git a/projects/common/element-components/image.component.ts b/projects/common/element-components/image.component.ts index 7bf719a04fe6084ccfa5a1a58bcc36739b488984..cf57db12c5bdcdf54251915b2d88fc3ae641c720 100644 --- a/projects/common/element-components/image.component.ts +++ b/projects/common/element-components/image.component.ts @@ -13,9 +13,9 @@ import { ImageElement } from '../models/image-element'; [src]="elementModel.src | safeResourceUrl" [alt]="'imageNotFound' | translate" [class]="elementModel.dynamicPositioning? 'dynamic-image' : 'static-image'"> - <app-magnifier - [image]=image> - </app-magnifier> +<!-- <app-magnifier--> +<!-- [image]=image>--> +<!-- </app-magnifier>--> </div> </div> `, diff --git a/projects/common/element-components/magnifier.component.ts b/projects/common/element-components/magnifier.component.ts index a294fd701491b998c1f51ff966206205327007e4..f319cd0ce6e0ee455c627fd4a7c7cf67e44440c7 100644 --- a/projects/common/element-components/magnifier.component.ts +++ b/projects/common/element-components/magnifier.component.ts @@ -5,16 +5,16 @@ import { Component, HostListener, Input } from '@angular/core'; template: ` <div *ngIf="image && image.width && image.height" class="hide-cursor"> - <div class="magnifier-glass" - [style.backgroundImage] = "'url('+ (image.src) + ')'" - [style.backgroundPosition] = "backgroundPosition" - [style.left.px]="left" - [style.top.px]="top" - [style.width.px]="glassRadius * 2" - [style.height.px]="glassRadius * 2" - [style.backgroundSize] = "(image.width * zoom) + 'px ' + (image.height * zoom) + 'px'" - [style.backgroundRepeat] = "'no-repeat'"> - </div> +<!-- <div class="magnifier-glass"--> +<!-- [style.backgroundImage] = "'url('+ (image.src) + ')'"--> +<!-- [style.backgroundPosition] = "backgroundPosition"--> +<!-- [style.left.px]="left"--> +<!-- [style.top.px]="top"--> +<!-- [style.width.px]="glassRadius * 2"--> +<!-- [style.height.px]="glassRadius * 2"--> +<!-- [style.backgroundSize] = "(image.width * zoom) + 'px ' + (image.height * zoom) + 'px'"--> +<!-- [style.backgroundRepeat] = "'no-repeat'">--> +<!-- </div>--> </div> `, styles: [