diff options
author | bob <bcz@cs.brown.edu> | 2019-04-12 11:18:23 -0400 |
---|---|---|
committer | bob <bcz@cs.brown.edu> | 2019-04-12 11:18:23 -0400 |
commit | 0c9d3637bde9825efe93c55afce8270b2a2e979c (patch) | |
tree | 1f7a4b47c646d4ced928eea14fd9d9fab27bdd91 /src/client/views/Main.tsx | |
parent | 343aeabf2cc3cab641944de16a95e5eb459a8e5f (diff) |
cleaned up and enabled linking to a top-level document
Diffstat (limited to 'src/client/views/Main.tsx')
-rw-r--r-- | src/client/views/Main.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/views/Main.tsx b/src/client/views/Main.tsx index c4c4a6bf9..60f7098fb 100644 --- a/src/client/views/Main.tsx +++ b/src/client/views/Main.tsx @@ -28,7 +28,7 @@ import '../northstar/model/ModelExtensions'; import { HistogramOperation } from '../northstar/operations/HistogramOperation'; import '../northstar/utils/Extensions'; import { Server } from '../Server'; -import { setupDrag, DragManager } from '../util/DragManager'; +import { SetupDrag, DragManager } from '../util/DragManager'; import { Transform } from '../util/Transform'; import { UndoManager } from '../util/UndoManager'; import { CollectionDockingView } from './collections/CollectionDockingView'; @@ -344,7 +344,7 @@ export class Main extends React.Component { <ul id="add-options-list"> {btns.map(btn => <li key={btn[1]} ><div ref={btn[0]}> - <button className="round-button add-button" title={btn[2]} onPointerDown={setupDrag(btn[0], btn[3])}> + <button className="round-button add-button" title={btn[2]} onPointerDown={SetupDrag(btn[0], btn[3])}> <FontAwesomeIcon icon={btn[1]} size="sm" /> </button> </div></li>)} |