mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
add cursor changing (WIP).
This commit is contained in:
@ -81,6 +81,16 @@ export class NekoMessages extends EventEmitter<NekoEvents> {
|
||||
// TODO: Handle.
|
||||
}
|
||||
|
||||
// TODO: Refactor.
|
||||
protected ['cursor/image']({ payload }: any) {
|
||||
console.log('cursor/image')
|
||||
Vue.set(this.state.control, 'cursor', {
|
||||
uri: payload.Uri,
|
||||
hot_x: payload.Xhot,
|
||||
hot_y: payload.Yhot,
|
||||
})
|
||||
}
|
||||
|
||||
/////////////////////////////
|
||||
// Signal Events
|
||||
/////////////////////////////
|
||||
|
Reference in New Issue
Block a user