Bug 1431947 - Remove the edge around the flex basis highlight. r=gl

MozReview-Commit-ID: EnMtsAganyG
This commit is contained in:
Zhenghong Qian 2018-01-20 15:18:30 -05:00
parent 725baa56d3
commit 1772747906

View File

@ -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();
}