From eff2fc5ac712875d87214242a1af71c5b4b0602a Mon Sep 17 00:00:00 2001 From: ajnart Date: Tue, 2 Aug 2022 00:20:42 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix=20ModuleWrapper=20Hover=20st?= =?UTF-8?q?ate?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/moduleWrapper.tsx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/modules/moduleWrapper.tsx b/src/modules/moduleWrapper.tsx index 94cb1ffb4..3ae65a0b2 100644 --- a/src/modules/moduleWrapper.tsx +++ b/src/modules/moduleWrapper.tsx @@ -181,9 +181,6 @@ export function ModuleWrapper(props: any) { export function ModuleMenu(props: any) { const { module, styles, hovered } = props; const items: JSX.Element[] = getItems(module); - if (!hovered) { - return null; - } return ( <> {module.options && ( @@ -210,7 +207,7 @@ export function ModuleMenu(props: any) { right: 12, }} > - +