From 29d651bed66a1859dcfd0ac74406a358ba65867e Mon Sep 17 00:00:00 2001 From: AAGaming Date: Thu, 9 Nov 2023 15:35:32 -0500 Subject: fix: get rid of title view jank on latest beta --- frontend/src/components/PluginView.tsx | 21 +++++++-------------- 1 file changed, 7 insertions(+), 14 deletions(-) (limited to 'frontend/src/components/PluginView.tsx') diff --git a/frontend/src/components/PluginView.tsx b/frontend/src/components/PluginView.tsx index b53035f7..a31053fe 100644 --- a/frontend/src/components/PluginView.tsx +++ b/frontend/src/components/PluginView.tsx @@ -1,12 +1,4 @@ -import { - ButtonItem, - Focusable, - PanelSection, - PanelSectionRow, - joinClassNames, - scrollClasses, - staticClasses, -} from 'decky-frontend-lib'; +import { ButtonItem, Focusable, PanelSection, PanelSectionRow } from 'decky-frontend-lib'; import { VFC, useEffect, useState } from 'react'; import { useTranslation } from 'react-i18next'; import { FaEyeSlash } from 'react-icons/fa'; @@ -36,10 +28,7 @@ const PluginView: VFC = () => { return ( -
+
{(visible || activePlugin.alwaysRender) && activePlugin.content}
@@ -48,7 +37,11 @@ const PluginView: VFC = () => { return ( <> -
+
{pluginList .filter((p) => p.content) -- cgit v1.2.3