update DefaultPickDelegate to use pick() on view
This commit is contained in:
@@ -17,7 +17,7 @@ class DefaultPickDelegate extends PickDelegate {
|
|||||||
|
|
||||||
@override
|
@override
|
||||||
void pick(Vector2 location) {
|
void pick(Vector2 location) {
|
||||||
viewer.pick(location.x.toInt(), location.y.toInt(), (result) {
|
viewer.view.pick(location.x.toInt(), location.y.toInt(), (result) {
|
||||||
_picked.sink.add(result.entity);
|
_picked.sink.add(result.entity);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user