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/>.
*/
/* 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