mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-21 01:05:45 +00: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
@ -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 New Issue
Block a user