From b626b4e98ad42eb6de389d1e28686f444860f6a3 Mon Sep 17 00:00:00 2001 From: Morgan Hardwood Date: Sun, 17 Jun 2018 21:00:14 +0200 Subject: [PATCH] UI rendering performance improved The CSS text-shadow property causes a serious performance degradation in rendering the UI, at least when used in comboboxes with many entries (i.e. Profiled Lens Correction), though the whole RT is affected. Fixes #4624 --- rtdata/themes/RawTherapee-GTK3-20_.css | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/rtdata/themes/RawTherapee-GTK3-20_.css b/rtdata/themes/RawTherapee-GTK3-20_.css index cc533320b..3f25ce509 100644 --- a/rtdata/themes/RawTherapee-GTK3-20_.css +++ b/rtdata/themes/RawTherapee-GTK3-20_.css @@ -18,19 +18,24 @@ along with RawTherapee. If not, see . */ -/* Scrollbar stuck workaround */ -scrollbar:not(.overlay-indicator):hover { - min-width: 1px; -} +/* text-shadow causes a serious performance degradation in rendering the UI, + * at least in comboboxes with many entries (i.e. Profiled Lens Correction). +*/ * { color: #AAAAAA; + text-shadow: none; } *:disabled { color: #666666; } +/* Scrollbar stuck workaround */ +scrollbar:not(.overlay-indicator):hover { + min-width: 1px; +} + .view:selected:not(check):not(radio) { color: #262626; background-color: #AAAAAA