diff options
| author | bob <bcz@cs.brown.edu> | 2019-03-07 14:37:25 -0500 |
|---|---|---|
| committer | bob <bcz@cs.brown.edu> | 2019-03-07 14:37:25 -0500 |
| commit | 22d7f22a60a17373a6e453e09cc616f651c11a9e (patch) | |
| tree | 48c7061da66205b74365d867084ffbc27affbff3 /src/client/views/collections/CollectionDockingView.tsx | |
| parent | 20599dce380b63af37433614d74778fb4f3e20b6 (diff) | |
fixed flicker when activating a PDF
Diffstat (limited to 'src/client/views/collections/CollectionDockingView.tsx')
| -rw-r--r-- | src/client/views/collections/CollectionDockingView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/CollectionDockingView.tsx b/src/client/views/collections/CollectionDockingView.tsx index c51fba908..f01c538e6 100644 --- a/src/client/views/collections/CollectionDockingView.tsx +++ b/src/client/views/collections/CollectionDockingView.tsx @@ -35,6 +35,7 @@ export class CollectionDockingView extends React.Component<SubCollectionViewProp private _goldenLayout: any = null; private _containerRef = React.createRef<HTMLDivElement>(); private _fullScreen: any = null; + private _flush: boolean = false; constructor(props: SubCollectionViewProps) { super(props); @@ -164,7 +165,6 @@ export class CollectionDockingView extends React.Component<SubCollectionViewProp this._goldenLayout.updateSize(cur!.getBoundingClientRect().width, cur!.getBoundingClientRect().height); } - _flush: boolean = false; @action onPointerUp = (e: React.PointerEvent): void => { if (this._flush) { |
