aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbob <bcz@cs.brown.edu>2019-06-17 12:36:15 -0400
committerbob <bcz@cs.brown.edu>2019-06-17 12:36:15 -0400
commit589d2409cf00c3ff15eddbe88835a63a09785f2c (patch)
tree6b29b5a94df164d9445d3c86fbc03f59816d5ff4 /src
parentf7a567b27b5c124e8c3bfe1e866162e2911607c5 (diff)
from last
Diffstat (limited to 'src')
-rw-r--r--src/client/views/nodes/DocumentView.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/DocumentView.tsx b/src/client/views/nodes/DocumentView.tsx
index a8dc13d1e..856fdab7f 100644
--- a/src/client/views/nodes/DocumentView.tsx
+++ b/src/client/views/nodes/DocumentView.tsx
@@ -158,7 +158,6 @@ export class DocumentView extends DocComponent<DocumentViewProps, Document>(Docu
animateBetweenIcon = (iconPos: number[], startTime: number, maximizing: boolean) => {
this.props.animateBetweenIcon ? this.props.animateBetweenIcon(iconPos, startTime, maximizing) :
DocumentView.animateBetweenIconFunc(this.props.Document, this.Document[WidthSym](), this.Document[HeightSym](), startTime, maximizing);
- Doc.GetProto(this.props.Document).willMaximize = false;
}
public static animateBetweenIconFunc = (doc: Doc, width: number, height: number, stime: number, maximizing: boolean, cb?: (progress: number) => void) => {
@@ -175,6 +174,7 @@ export class DocumentView extends DocComponent<DocumentViewProps, Document>(Docu
Doc.GetProto(doc).isMinimized = !maximizing;
Doc.GetProto(doc).isIconAnimating = undefined;
}
+ Doc.GetProto(doc).willMaximize = false;
},
2);
}