mart added inline comments.

INLINE COMMENTS

> Logout.qml:87
> +    function isLightColor(color) {
> +        return Math.max(color.r, color.g, color.b) > 0.5
>      }

the method lattes is using 0.2126*r + 0.7152*g + 0.0722*b is more correct
(a simple one would be convertin to gray scale with  qGray, but unfortunately 
is C++ only)

REPOSITORY
  R120 Plasma Workspace

REVISION DETAIL
  https://phabricator.kde.org/D11262

To: Pitel, mart, #plasma
Cc: ngraham, abetts, broulik, mvourlakos, plasma-devel, ZrenBot, lesliezhai, 
ali-mohamed, jensreuterberg, sebas, apol, mart

Reply via email to