diff options
| author | bob <bcz@cs.brown.edu> | 2019-05-03 10:58:12 -0400 |
|---|---|---|
| committer | bob <bcz@cs.brown.edu> | 2019-05-03 10:58:12 -0400 |
| commit | 26b0374d87ef1b14d947d5882f73e67b8607436e (patch) | |
| tree | 39047f4666b8d06a67b037219c7d620eba934a3f /src/client/views/collections | |
| parent | ee6842b6509264f402217fcd214fa4dc167d985e (diff) | |
changes to icon box and decorations.
Diffstat (limited to 'src/client/views/collections')
| -rw-r--r-- | src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx b/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx index 54b721f7b..17c25c9db 100644 --- a/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx +++ b/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx @@ -225,7 +225,7 @@ export class CollectionFreeFormView extends CollectionSubView(PanZoomDocument) { onDragOver = (): void => { } - bringToFront(doc: Doc) { + bringToFront = (doc: Doc) => { const docs = (this.children || []); docs.slice().sort((doc1, doc2) => { if (doc1 === doc) return 1; @@ -266,6 +266,7 @@ export class CollectionFreeFormView extends CollectionSubView(PanZoomDocument) { focus: this.focusDocument, parentActive: this.props.active, whenActiveChanged: this.props.active, + bringToFront: this.bringToFront, }; } |
