fmt [skip ci]

pull/406/head
Lucas Nogueira 2 years ago
parent d02b03fb3e
commit ac8dc0739c
No known key found for this signature in database
GPG Key ID: FFEA6C72E73482F1

@ -1,5 +1,5 @@
--- ---
'window-js': 'minor:feat' "window-js": "minor:feat"
--- ---
Added the `maximizable`, `minimizable` and `closable` fields on `WindowOptions`. Added the `maximizable`, `minimizable` and `closable` fields on `WindowOptions`.

@ -1,6 +1,6 @@
--- ---
'window': 'minor:feat' "window": "minor:feat"
'window-js': 'minor:feat' "window-js": "minor:feat"
--- ---
Added the `setMaximizable`, `setMinimizable`, `setClosable`, `isMaximizable`, `isMinimizable` and `isClosable` methods. Added the `setMaximizable`, `setMinimizable`, `setClosable`, `isMaximizable`, `isMinimizable` and `isClosable` methods.

@ -2024,15 +2024,15 @@ interface WindowOptions {
/** /**
* Whether the window's native maximize button is enabled or not. Defaults to `true`. * Whether the window's native maximize button is enabled or not. Defaults to `true`.
*/ */
maximizable?: boolean maximizable?: boolean;
/** /**
* Whether the window's native minimize button is enabled or not. Defaults to `true`. * Whether the window's native minimize button is enabled or not. Defaults to `true`.
*/ */
minimizable?: boolean minimizable?: boolean;
/** /**
* Whether the window's native close button is enabled or not. Defaults to `true`. * Whether the window's native close button is enabled or not. Defaults to `true`.
*/ */
closable?: boolean closable?: boolean;
} }
function mapMonitor(m: Monitor | null): Monitor | null { function mapMonitor(m: Monitor | null): Monitor | null {

Loading…
Cancel
Save