Skip to content

Commit da9e91c

Browse files
committed
fix(timeline): bitmap text hiDPI screen
1 parent 3dbcc42 commit da9e91c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/app-frontend/src/features/timeline/TimelineView.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ PIXI.settings.SCALE_MODE = PIXI.SCALE_MODES.NEAREST
3939
PIXI.BitmapFont.from('Roboto Mono', {
4040
fontFamily: 'Roboto Mono',
4141
fontSize: 9,
42+
}, {
43+
resolution: window.devicePixelRatio,
4244
})
4345
4446
const LAYER_SIZE = 16

0 commit comments

Comments
 (0)