Skip to content

Commit 43a39d2

Browse files
committed
Increase stroke thickness
1 parent 6c428be commit 43a39d2

File tree

28 files changed

+6
-0
lines changed

28 files changed

+6
-0
lines changed

test/unit/visual/cases/typography.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,10 +215,12 @@ visualSuite("Typography", function () {
215215
p5.textAlign(alignment.alignX, alignment.alignY);
216216

217217
p5.noFill();
218+
p5.strokeWeight(2);
218219
p5.stroke(200);
219220
p5.rect(xPos, yPos, boxWidth, boxHeight);
220221

221222
p5.fill(0);
223+
p5.noStroke();
222224
p5.text(
223225
"A really long text that should wrap automatically as it reaches the end of the box",
224226
xPos,
@@ -273,10 +275,12 @@ visualSuite("Typography", function () {
273275
p5.textAlign(alignment.alignX, alignment.alignY);
274276

275277
p5.noFill();
278+
p5.strokeWeight(2);
276279
p5.stroke(200);
277280
p5.rect(xPos, yPos, boxWidth, boxHeight);
278281

279282
p5.fill(0);
283+
p5.noStroke();
280284
p5.text(
281285
"A really long text that should wrap automatically as it reaches the end of the box",
282286
xPos,
@@ -331,9 +335,11 @@ visualSuite("Typography", function () {
331335

332336
p5.noFill();
333337
p5.stroke(200);
338+
p5.strokeWeight(2);
334339
p5.rect(xPos, yPos, boxWidth, boxHeight);
335340

336341
p5.fill(0);
342+
p5.noStroke();
337343
p5.text("Line 1\nLine 2\nLine 3", xPos, yPos, boxWidth, boxHeight);
338344
const bb = p5.textBounds(
339345
"Line 1\nLine 2\nLine 3",

0 commit comments

Comments
 (0)