Hi there, seems like there were significant changes in how picker works from 1.68.0+
Previous:
var selected = picker.getSelection({
x: Math.floor(event.x * (picker.width / canvasWidth)),
y: picker.height - Math.floor(event.y * (picker.height / canvasHeight))
});
Current:
var selected = picker.getSelection(
Math.floor(event.x * (picker.width / canvasWidth)),
picker.height - Math.floor(event.y * (picker.height / canvasHeight))
);
And I’m seeing a huge differences in picking accuracy, any ideas how to get identical functionality as with previous picker version? Using old syntax causes an error
ASSERT FAILED:
Picker.getSelection:param 'rect' is deprecated, use 'x, y, width, height' instead.