Skip to content

Commit

Permalink
quickFix: hide icons when zoom is applied T3170
Browse files Browse the repository at this point in the history
  • Loading branch information
Amr Wagdy committed Nov 4, 2021
1 parent a3c978b commit 428b52d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/ci360.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -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';
}

Expand All @@ -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';
}

Expand Down

0 comments on commit 428b52d

Please sign in to comment.