mirror of
https://github.com/m1k1o/neko.git
synced 2025-08-01 07:49:53 +02:00
cursor utils changed to generic CreatePNGImage.
This commit is contained in:
parent
8f142e4b91
commit
d2eda6f25f
4 changed files with 43 additions and 38 deletions
|
@ -55,7 +55,7 @@ func (peer *WebRTCPeerCtx) SendCursorImage(cur *types.CursorImage) error {
|
|||
return fmt.Errorf("no data channel")
|
||||
}
|
||||
|
||||
img, err := utils.GetCursorImage(cur)
|
||||
img, err := utils.CreatePNGImage(cur.Image)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue