xeokit-sdk icon indicating copy to clipboard operation
xeokit-sdk copied to clipboard

Dot lib visibility change

Open g-rodigy opened this issue 1 year ago • 0 comments

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

g-rodigy avatar Mar 02 '24 22:03 g-rodigy