mirror of
				https://github.com/mozilla/gecko-dev.git
				synced 2025-11-04 10:18:41 +02:00 
			
		
		
		
	Bug 1431947 - Remove the edge around the flex basis highlight. r=gl
MozReview-Commit-ID: EnMtsAganyG
This commit is contained in:
		
							parent
							
								
									725baa56d3
								
							
						
					
					
						commit
						1772747906
					
				
					 1 changed files with 0 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -38,7 +38,6 @@ const FLEXBOX_CONTAINER_PATTERN_WIDTH = 14; // px
 | 
			
		|||
const FLEXBOX_CONTAINER_PATTERN_HEIGHT = 14; // px
 | 
			
		||||
const FLEXBOX_CONTAINER_PATTERN_LINE_DISH = [5, 3]; // px
 | 
			
		||||
const BASIS_FILL_COLOR = "rgb(109, 184, 255, 0.4)";
 | 
			
		||||
const BASIS_EDGE_COLOR = "#6aabed";
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * Cached used by `FlexboxHighlighter.getFlexContainerPattern`.
 | 
			
		||||
| 
						 | 
				
			
			@ -323,9 +322,7 @@ class FlexboxHighlighter extends AutoRefreshHighlighter {
 | 
			
		|||
    }
 | 
			
		||||
 | 
			
		||||
    this.ctx.fillStyle = BASIS_FILL_COLOR;
 | 
			
		||||
    this.ctx.strokeStyle = BASIS_EDGE_COLOR;
 | 
			
		||||
    drawRect(this.ctx, left, top, right, bottom, this.currentMatrix);
 | 
			
		||||
    this.ctx.stroke();
 | 
			
		||||
    this.ctx.fill();
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue