Skip to content

Commit b3360d6

Browse files
committed
cleanup obsolete comments
Signed-off-by: Tim Deubler <tim.deubler@here.com>
1 parent af022df commit b3360d6

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

packages/display/src/displays/webgl/GlyphManager.ts

+1-5
Original file line numberDiff line numberDiff line change
@@ -106,12 +106,8 @@ class GlyphManager {
106106
const baseLineOffset = Math.ceil(this.getLetterHeight(ctx, 'bottom') / 2);
107107
const letterHeight = Math.ceil(this.getLetterHeight(ctx, 'top') + strokePadding) + 1;
108108

109-
// determine font height on scaled canvas is less precise
110-
// so we determine unscaled and scale afterwards
111-
ctx.setTransform(scale, 0, 0, scale, 0, 0);
112-
// ctx.textAlign = 'start'; // 'center'
113-
// ctx.textBaseline = 'top'; // 'middle'
114109

110+
ctx.setTransform(scale, 0, 0, scale, 0, 0);
115111

116112
const rowHeight = Math.ceil(letterHeight + paddingY);
117113

0 commit comments

Comments
 (0)