aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/RadialMenu.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/views/nodes/RadialMenu.tsx')
-rw-r--r--src/client/views/nodes/RadialMenu.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/views/nodes/RadialMenu.tsx b/src/client/views/nodes/RadialMenu.tsx
index 3b2fc033d..16450c359 100644
--- a/src/client/views/nodes/RadialMenu.tsx
+++ b/src/client/views/nodes/RadialMenu.tsx
@@ -86,7 +86,7 @@ export class RadialMenu extends React.Component {
}
@action
- componentDidMount = () => {
+ componentDidMount() {
document.addEventListener('pointerdown', this.onPointerDown);
document.addEventListener('pointerup', this.onPointerUp);
this.previewcircle();
@@ -94,7 +94,7 @@ export class RadialMenu extends React.Component {
() => this._shouldDisplay,
() => this._shouldDisplay && !this._mouseDown && runInAction(() => (this._display = true))
);
- };
+ }
componentDidUpdate = () => {
this.previewcircle();