Document special case

pull/199/head
M66B 3 years ago
parent e004228529
commit 576388ee16

@ -602,6 +602,8 @@ public class HtmlHelper {
e = e.parent();
if (!bg) {
// Special case:
// external draft / dark background / dark font
if (color != null && !view && dark) {
float lum = (float) ColorUtils.calculateLuminance(color);
if (lum < 0.1f)

Loading…
Cancel
Save