From a7d5b7da561715c8f78cac94efe37cd4b6266188 Mon Sep 17 00:00:00 2001 From: bobzel Date: Fri, 23 Oct 2020 13:16:15 -0400 Subject: fixed major performance/bug with replaceTab AddDocTab where they weren't in an action so lots of extra/wrong work was being done. Now switching slides should work when they open new tabs. --- src/client/views/presentationview/PresElementBox.tsx | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src/client/views/presentationview') diff --git a/src/client/views/presentationview/PresElementBox.tsx b/src/client/views/presentationview/PresElementBox.tsx index b47e9c88a..0dc8a2148 100644 --- a/src/client/views/presentationview/PresElementBox.tsx +++ b/src/client/views/presentationview/PresElementBox.tsx @@ -248,7 +248,6 @@ export class PresElementBox extends ViewBoxBaseComponent { - console.log(targetDoc.type); if (targetDoc.type === DocumentType.PDF || targetDoc.type === DocumentType.WEB || targetDoc.type === DocumentType.RTF) { const scroll = targetDoc._scrollTop; activeItem.presPinViewScroll = scroll; @@ -349,10 +348,6 @@ export class PresElementBox extends ViewBoxBaseComponent