From e7c7886cba657018c31f502c0be67f5fc5beb2cf Mon Sep 17 00:00:00 2001 From: crschnick Date: Wed, 9 Oct 2024 06:30:16 +0000 Subject: [PATCH] Remove drop shadows for tooltips in performance mode --- .../main/resources/io/xpipe/app/resources/style/tooltip.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/src/main/resources/io/xpipe/app/resources/style/tooltip.css b/app/src/main/resources/io/xpipe/app/resources/style/tooltip.css index d8439608b..5e30bdffc 100644 --- a/app/src/main/resources/io/xpipe/app/resources/style/tooltip.css +++ b/app/src/main/resources/io/xpipe/app/resources/style/tooltip.css @@ -1,3 +1,9 @@ .fancy-tooltip { -fx-opacity: 1; +} + +.root:performance .fancy-tooltip { + -fx-effect: NONE; + -fx-background-radius: 0; + -fx-border-radius: 0; } \ No newline at end of file