mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-11 22:49:29 +08:00
commit
f66c70f0be
@ -30,7 +30,7 @@ func (d *Dispatcher) processSystemCall(payload callMessage, sender frontend.Fron
|
|||||||
return &position{x, y}, nil
|
return &position{x, y}, nil
|
||||||
case "WindowGetSize":
|
case "WindowGetSize":
|
||||||
w, h := sender.WindowGetSize()
|
w, h := sender.WindowGetSize()
|
||||||
return &position{w, h}, nil
|
return &size{w, h}, nil
|
||||||
default:
|
default:
|
||||||
return nil, fmt.Errorf("unknown systemcall message: %s", payload.Name)
|
return nil, fmt.Errorf("unknown systemcall message: %s", payload.Name)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user