aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/FontIconBox.tsx
diff options
context:
space:
mode:
authoranika-ahluwalia <anika.ahluwalia@gmail.com>2020-08-03 10:19:39 -0500
committeranika-ahluwalia <anika.ahluwalia@gmail.com>2020-08-03 10:19:39 -0500
commitf4940b063a512e15723d62671b8e11619b1bfcd7 (patch)
tree63c51b5c3e6660279d516217f09c749502231c4d /src/client/views/nodes/FontIconBox.tsx
parent8d1f4cdf924a4002f132886230eb85a40dfcae3f (diff)
fix double click on left pane
Diffstat (limited to 'src/client/views/nodes/FontIconBox.tsx')
-rw-r--r--src/client/views/nodes/FontIconBox.tsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/views/nodes/FontIconBox.tsx b/src/client/views/nodes/FontIconBox.tsx
index 7c538df92..48f9d7cc6 100644
--- a/src/client/views/nodes/FontIconBox.tsx
+++ b/src/client/views/nodes/FontIconBox.tsx
@@ -6,7 +6,7 @@ import { DocComponent } from '../DocComponent';
import './FontIconBox.scss';
import { FieldView, FieldViewProps } from './FieldView';
import { StrCast, Cast, NumCast } from '../../../fields/Types';
-import { Utils } from "../../../Utils";
+import { Utils, emptyFunction } from "../../../Utils";
import { runInAction, observable, reaction, IReactionDisposer } from 'mobx';
import { Doc } from '../../../fields/Doc';
import { ContextMenu } from '../ContextMenu';
@@ -75,6 +75,7 @@ export class FontIconBox extends DocComponent<FieldViewProps, FontIconDocument>(
const color = CurrentUserUtils.selectedPanel === this.dataDoc.title ? "black" : "white";
const menuBTN = <div className="menuButton"
+ onDoubleClick={emptyFunction}
style={{ backgroundColor: CurrentUserUtils.selectedPanel === this.dataDoc.title ? "lightgrey" : "" }}>
<div className="menuButton-wrap"