2017-06-08 04:45:49 +08:00
|
|
|
import { makeCall } from '/imports/ui/services/api';
|
2018-05-12 00:01:24 +08:00
|
|
|
import { publishCursorUpdate } from '/imports/ui/components/cursor/service';
|
2017-02-07 08:10:50 +08:00
|
|
|
|
2017-04-20 03:13:52 +08:00
|
|
|
const updateCursor = (coordinates) => {
|
2018-05-12 00:01:24 +08:00
|
|
|
publishCursorUpdate(coordinates.xPercent, coordinates.yPercent);
|
2017-02-07 08:10:50 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
export default {
|
|
|
|
updateCursor,
|
|
|
|
};
|