Merge branch 'VM/RED-8742' into 'master'
VM/RED-8742 - fixed hide button Closes RED-8742 See merge request redactmanager/red-ui!454
This commit is contained in:
commit
223575c232
@ -377,7 +377,7 @@ export class PdfProxyService {
|
||||
const allAreImage = annotationWrappers.reduce((acc, next) => acc && next.isImage, true);
|
||||
const hideSkipped = this._skippedService.hideSkipped() && annotationWrappers.some(a => a.isSkipped);
|
||||
if (allAreImage && !this._annotationManager.resizingAnnotationId && !hideSkipped) {
|
||||
const allAreVisible = viewerAnnotations.reduce((acc, next) => next.isVisible() && acc, true);
|
||||
const allAreVisible = viewerAnnotations.reduce((acc, next) => next.isVisible() && !!next['Opacity'] && acc, true);
|
||||
|
||||
const visibilityButton = {
|
||||
type: 'actionButton',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user