Skip to content

Serialize addon coordinates are backwards internally #4876

@Tyriar

Description

@Tyriar

This is the wrong way around:

return handler.serialize({
start: { x: selection.start.y, y: selection.start.x },
end: { x: selection.end.y, y: selection.end.x }
});

const startRow = range.start.x;
const endRow = range.end.x;
const startColumn = range.start.y;
const endColumn = range.end.y;

I don't think this is an API facing bug, just confusing code.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions