Skip to content

Commit

Permalink
fix offset
Browse files Browse the repository at this point in the history
  • Loading branch information
LabhanshAgrawal committed Jan 29, 2023
1 parent 70bbd12 commit 1f1e9e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/xterm-addon-canvas/src/BaseRenderLayer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ export abstract class BaseRenderLayer extends Disposable implements IRenderLayer
glyph.size.x,
glyph.size.y
);
glyphsOffsetX += glyph.size.x;
glyphsOffsetX += glyph.size.x - glyph.offset.x;
this._ctx.restore();
}
}
Expand Down

0 comments on commit 1f1e9e3

Please sign in to comment.