@overwolf/ow-electron-packages-types 0.2.0-beta.1 → 0.2.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/types.d.ts +13 -0
package/package.json
CHANGED
package/types.d.ts
CHANGED
|
@@ -147,6 +147,13 @@ interface OverlayWindowOptions
|
|
|
147
147
|
|
|
148
148
|
/** */
|
|
149
149
|
enableIsolation?:boolean;
|
|
150
|
+
|
|
151
|
+
/**
|
|
152
|
+
* If true, the overlaywindow will be DPI aware (Main monitor DPI).
|
|
153
|
+
* @default false
|
|
154
|
+
* @since 1.7.0
|
|
155
|
+
*/
|
|
156
|
+
dpiAware?: boolean;
|
|
150
157
|
}
|
|
151
158
|
|
|
152
159
|
interface IOverlayHotkey {
|
|
@@ -320,6 +327,12 @@ interface IOverwolfOverlayApi extends EventEmitter {
|
|
|
320
327
|
*/
|
|
321
328
|
hotkeys: IOverlayHotkeys;
|
|
322
329
|
|
|
330
|
+
/**
|
|
331
|
+
* Overlay package version
|
|
332
|
+
* @since 1.7.0
|
|
333
|
+
*/
|
|
334
|
+
readonly version: string;
|
|
335
|
+
|
|
323
336
|
/**
|
|
324
337
|
* Enters Overlay "Exclusive Mode" - meaning, the game no longer receives user
|
|
325
338
|
* input (all input will go to the overlay windows).
|