mirror of
https://github.com/wavetermdev/waveterm.git
synced 2025-01-02 18:39:05 +01:00
update type
This commit is contained in:
parent
264d6568e2
commit
90dd297de5
@ -276,7 +276,7 @@ electron.ipcMain.on("getCursorPoint", (event) => {
|
||||
const window = electron.BrowserWindow.fromWebContents(event.sender);
|
||||
const screenPoint = electron.screen.getCursorScreenPoint();
|
||||
const windowRect = window.getContentBounds();
|
||||
const retVal: Point = {
|
||||
const retVal: Electron.Point = {
|
||||
x: screenPoint.x - windowRect.x,
|
||||
y: screenPoint.y - windowRect.y,
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user