-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Decoration element positions should be rounded #3774
Copy link
Copy link
Closed
Labels
Milestone
Description
While working on #3770 I noticed the size of the decorations is different from the actual cell size:
Likely fixed by rounding these:
xterm.js/src/browser/Decorations/BufferDecorationRenderer.ts
Lines 79 to 80 in 90f64ba
| element.style.width = `${(decoration.options.width || 1) * this._renderService.dimensions.actualCellWidth}px`; | |
| element.style.height = `${(decoration.options.height || 1) * this._renderService.dimensions.actualCellHeight}px`; |
Reactions are currently unavailable
