update type

This commit is contained in:
Evan Simkowitz 2024-06-19 12:20:20 -07:00
parent 264d6568e2
commit 90dd297de5
No known key found for this signature in database

View File

@ -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,
};