From b93b8e0c753ce8e16059891dcad6becd2d0dde4c Mon Sep 17 00:00:00 2001
From: ab <abdullah_ahmed@brown.edu>
Date: Wed, 17 Jul 2019 15:18:03 -0400
Subject: active marks not properly reflected

---
 src/client/util/TooltipTextMenu.tsx | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'src/client/util/TooltipTextMenu.tsx')

diff --git a/src/client/util/TooltipTextMenu.tsx b/src/client/util/TooltipTextMenu.tsx
index 0ec9af5d7..0c2645a5c 100644
--- a/src/client/util/TooltipTextMenu.tsx
+++ b/src/client/util/TooltipTextMenu.tsx
@@ -109,7 +109,8 @@ export class TooltipTextMenu {
                 if (dom.contains(e.target as Node)) {
                     e.stopPropagation();
                     command(view.state, view.dispatch, view);
-                    //this.update(view, undefined);
+                    if (dom.style.color === "white") { dom.style.color = "greenyellow"; }
+                    else { dom.style.color = "white"; }
                 }
             });
 
-- 
cgit v1.2.3-70-g09d2

