We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d34bb5e commit d17df65Copy full SHA for d17df65
src/browser/renderer/shared/TextureAtlas.ts
@@ -587,7 +587,7 @@ export class TextureAtlas implements ITextureAtlas {
587
);
588
break;
589
case UnderlineStyle.DOTTED:
590
- this._tmpCtx.setLineDash([this._config.devicePixelRatio * 2, this._config.devicePixelRatio]);
+ this._tmpCtx.setLineDash([Math.round(lineWidth), Math.round(lineWidth)]);
591
this._tmpCtx.moveTo(xChLeft, yTop);
592
this._tmpCtx.lineTo(xChRight, yTop);
593
0 commit comments