From 90dd297de5b721c146694178ac15779a25403572 Mon Sep 17 00:00:00 2001 From: Evan Simkowitz Date: Wed, 19 Jun 2024 12:20:20 -0700 Subject: [PATCH] update type --- emain/emain.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/emain/emain.ts b/emain/emain.ts index 80dbcb36d..a152cde06 100644 --- a/emain/emain.ts +++ b/emain/emain.ts @@ -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, };