xeokit-sdk
xeokit-sdk copied to clipboard
Dot lib visibility change
Describe the bug
The initial state don't change if first setVisible() will be true and visibility don't change too.
https://github.com/xeokit/xeokit-sdk/blob/88619cf9a50235e311e8e70676a22f291cdbf70c/src/plugins/lib/html/Dot.js#L11 https://github.com/xeokit/xeokit-sdk/blob/88619cf9a50235e311e8e70676a22f291cdbf70c/src/plugins/lib/html/Dot.js#L136-L139
To Reproduce
var startDot = new Dot(containerElement), {
visible: false,
});
// some touch on screen and get position
startDot.setPos(canvasPos[0], canvasPos[1]);
startDot.setVisible(true);
Additional context
- version v2.4.1(or early) to v2.5.2-beta27