Skip to content

Decoration element positions should be rounded #3774

@Tyriar

Description

@Tyriar

While working on #3770 I noticed the size of the decorations is different from the actual cell size:

image

Likely fixed by rounding these:

element.style.width = `${(decoration.options.width || 1) * this._renderService.dimensions.actualCellWidth}px`;
element.style.height = `${(decoration.options.height || 1) * this._renderService.dimensions.actualCellHeight}px`;

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions