Skip to content

Commit d52a265

Browse files
committed
[app-window] moves app window to the center of the screen
1 parent 3a5b9e9 commit d52a265

2 files changed

Lines changed: 12 additions & 2 deletions

File tree

changelog.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,17 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
55

66

77

8+
## [0.2.2] PENDING
9+
10+
### Added
11+
12+
### Changed
13+
- **[app-window]:** moves app window to the center of the screen
14+
15+
### Fixed
16+
17+
18+
819
## [0.2.1] 2020/08/25
920

1021
### Added

main.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@ function createWindow() {
1515

1616
// Create the browser window.
1717
win = new BrowserWindow({
18-
x: 0,
19-
y: 0,
18+
center: true,
2019
width: size.width,
2120
height: size.height,
2221
icon: path.join(__dirname, 'src/assets/icons/favicon.png'),

0 commit comments

Comments
 (0)