color
This commit is contained in:
		
							parent
							
								
									85b30baabc
								
							
						
					
					
						commit
						bccb1be2d4
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -190,7 +190,7 @@ impl Drawable for Circle {
 | 
				
			||||||
       /// Helper method to draw the 8 symmetric points for a given (x, y) offset.
 | 
					       /// Helper method to draw the 8 symmetric points for a given (x, y) offset.
 | 
				
			||||||
    fn draw_and_move(&mut self, display: &mut Display) {
 | 
					    fn draw_and_move(&mut self, display: &mut Display) {
 | 
				
			||||||
    let hsv_color = color::Hsv {
 | 
					    let hsv_color = color::Hsv {
 | 
				
			||||||
            h: self.radius%360,
 | 
					            h: (self.radius%360).try_into().unwrap(),
 | 
				
			||||||
            s: 1.0,
 | 
					            s: 1.0,
 | 
				
			||||||
            v: 1.0,
 | 
					            v: 1.0,
 | 
				
			||||||
    };
 | 
					    };
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue