summaryrefslogtreecommitdiff
path: root/frontend/views/graph/components/page.handle.js
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/views/graph/components/page.handle.js')
-rw-r--r--frontend/views/graph/components/page.handle.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/frontend/views/graph/components/page.handle.js b/frontend/views/graph/components/page.handle.js
index be05a1a..7093399 100644
--- a/frontend/views/graph/components/page.handle.js
+++ b/frontend/views/graph/components/page.handle.js
@@ -23,7 +23,7 @@ export default class PageHandle extends Component {
this.props.onMeasure({ id, width, height })
}
render() {
- const { graph, page, bounds, box, onMouseDown } = this.props
+ const { graph, page, bounds, box, onMouseDown, onMouseEnter, onMouseLeave } = this.props
let style;
if (box) {
style = {
@@ -46,6 +46,8 @@ export default class PageHandle extends Component {
className={className}
ref={this.ref}
onMouseDown={onMouseDown}
+ onMouseEnter={onMouseEnter}
+ onMouseLeave={onMouseLeave}
onDoubleClick={() => history.push(url)}
style={style}
>