From ea862bf9a938547c52852b669a2b03f828105bfb Mon Sep 17 00:00:00 2001 From: Oliver Hamlet Date: Sat, 5 Mar 2016 17:57:36 +0000 Subject: [PATCH] Disable Edit Metadata menu item when editor is open --- src/gui/html/elements/loot-plugin-card.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/gui/html/elements/loot-plugin-card.html b/src/gui/html/elements/loot-plugin-card.html index adeb616e..5ae6c1ac 100644 --- a/src/gui/html/elements/loot-plugin-card.html +++ b/src/gui/html/elements/loot-plugin-card.html @@ -96,6 +96,10 @@ loot-clear-metadata overflow: hidden; white-space: nowrap; } + :host-context(body[data-editors]) #editMetadata { + color: #9b9b9b; + pointer-events: none; + } #editMetadata, #copyMetadata, #clearMetadata {