fixed random color change

This commit is contained in:
Artem Anufrij 2017-08-15 21:50:47 +02:00
parent 5e6e50a121
commit 7d9ae2c629

View file

@ -199,7 +199,7 @@ namespace Webpin {
var color = "#%02x%02x%02x".printf (r, g, b);
if (color != ui_color) {
if (color != ui_color && color != "#ffffff") {
ui_color = color;
Gdk.RGBA background = {};
background.parse (ui_color);