From 428b52d9dc28d302d0132f724e61836c8dda41c5 Mon Sep 17 00:00:00 2001 From: Amr Wagdy Date: Thu, 4 Nov 2021 10:35:01 +0200 Subject: [PATCH] quickFix: hide icons when zoom is applied T3170 --- src/ci360.service.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/ci360.service.js b/src/ci360.service.js index 8711ab4..4af3d82 100644 --- a/src/ci360.service.js +++ b/src/ci360.service.js @@ -996,14 +996,14 @@ class CI360Viewer { hideFullscreenIcon() { if (!this.fullscreenIcon) return; - this.fullscreenIcon.style.opacity = '0.4'; + this.fullscreenIcon.style.display = 'none'; this.fullscreenIcon.style.pointerEvents = 'none'; } showFullscreenIcon() { if (!this.fullscreenIcon) return; - this.fullscreenIcon.style.opacity = '1'; + this.fullscreenIcon.style.display = 'block'; this.fullscreenIcon.style.pointerEvents = 'auto'; } @@ -1021,14 +1021,14 @@ class CI360Viewer { disableMagnifierIcon() { if (!this.magnifierIcon) return; - this.magnifierIcon.style.opacity = '0.4'; + this.magnifierIcon.style.display = 'none'; this.magnifierIcon.style.pointerEvents = 'none'; } enableMagnifierIcon() { if (!this.magnifierIcon) return; - this.magnifierIcon.style.opacity = '1'; + this.magnifierIcon.style.display = 'block'; this.magnifierIcon.style.pointerEvents = 'auto'; }