fixed random color change
This commit is contained in:
		
							parent
							
								
									5e6e50a121
								
							
						
					
					
						commit
						7d9ae2c629
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -199,7 +199,7 @@ namespace Webpin {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		        var color = "#%02x%02x%02x".printf (r, g, b);
 | 
							        var color = "#%02x%02x%02x".printf (r, g, b);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                if (color != ui_color) {
 | 
					                if (color != ui_color && color != "#ffffff") {
 | 
				
			||||||
                    ui_color = color;
 | 
					                    ui_color = color;
 | 
				
			||||||
                    Gdk.RGBA background = {};
 | 
					                    Gdk.RGBA background = {};
 | 
				
			||||||
                    background.parse (ui_color);
 | 
					                    background.parse (ui_color);
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue