Skip to content

Invalid isBoundToPoint function implementation #549

@stockiNail

Description

@stockiNail

The implementation of isBoundToPoint is wrong.

If I set xValue: 0 and yValue: 0, it returns false and that's not correct because I want to have the annotation with center point at value 0, 0.

export function isBoundToPoint(options) {
return options && (options.xValue || options.yValue);
}

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions