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
This commit is contained in:
Morgan Hardwood 2018-06-17 21:00:14 +02:00
parent 5515b3dd72
commit b626b4e98a

View File

@ -18,19 +18,24 @@
along with RawTherapee. If not, see <http://www.gnu.org/licenses/>. along with RawTherapee. If not, see <http://www.gnu.org/licenses/>.
*/ */
/* Scrollbar stuck workaround */ /* text-shadow causes a serious performance degradation in rendering the UI,
scrollbar:not(.overlay-indicator):hover { * at least in comboboxes with many entries (i.e. Profiled Lens Correction).
min-width: 1px; */
}
* { * {
color: #AAAAAA; color: #AAAAAA;
text-shadow: none;
} }
*:disabled { *:disabled {
color: #666666; color: #666666;
} }
/* Scrollbar stuck workaround */
scrollbar:not(.overlay-indicator):hover {
min-width: 1px;
}
.view:selected:not(check):not(radio) { .view:selected:not(check):not(radio) {
color: #262626; color: #262626;
background-color: #AAAAAA background-color: #AAAAAA