Skip to content

Commit cee5253

Browse files
committed
We'll just use a smaller size
1 parent 4b987b7 commit cee5253

File tree

20 files changed

+1
-11
lines changed

20 files changed

+1
-11
lines changed

src/webgl/p5.RendererGL.js

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -977,16 +977,6 @@ class RendererGL extends Renderer {
977977
}
978978
}
979979

980-
push() {
981-
this.textDrawingContext().save()
982-
super.push()
983-
}
984-
985-
pop() {
986-
super.pop()
987-
this.textDrawingContext.restore()
988-
}
989-
990980
_update() {
991981
// reset model view and apply initial camera transform
992982
// (containing only look at info; no projection).

test/unit/visual/cases/typography.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ visualSuite("Typography", function () {
279279

280280
p5.createCanvas(150, 100, mode === 'webgl' ? p5.WEBGL : undefined);
281281
if (mode === 'webgl') p5.translate(-p5.width/2, -p5.height/2);
282-
p5.textSize(20);
282+
p5.textSize(19);
283283
p5.textWrap(p5.CHAR);
284284
const font = await p5.loadFont(
285285
'/unit/assets/Inconsolata-Bold.ttf'
143 Bytes
Loading
265 Bytes
Loading
174 Bytes
Loading
141 Bytes
Loading
268 Bytes
Loading
146 Bytes
Loading
152 Bytes
Loading
241 Bytes
Loading

0 commit comments

Comments
 (0)