1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-12-02 22:49:09 +02:00

Tools: Apply eslint space-infix-ops rule

This commit is contained in:
Laurent Cozic
2020-03-13 23:52:40 +00:00
parent d0d2bad7f4
commit e2e55b6e08
4 changed files with 6 additions and 6 deletions

View File

@@ -45,8 +45,8 @@ class ElectronAppWrapper {
const stateOptions = {
defaultWidth: Math.round(0.8*screen.getPrimaryDisplay().workArea.width),
defaultHeight: Math.round(0.8*screen.getPrimaryDisplay().workArea.height),
defaultWidth: Math.round(0.8 * screen.getPrimaryDisplay().workArea.width),
defaultHeight: Math.round(0.8 * screen.getPrimaryDisplay().workArea.height),
file: `window-state-${this.env_}.json`,
};
@@ -89,7 +89,7 @@ class ElectronAppWrapper {
if (!screen.getDisplayMatching(this.win_.getBounds())) {
const { width: windowWidth, height: windowHeight } = this.win_.getBounds();
const { width: primaryDisplayWidth, height: primaryDisplayHeight } = screen.getPrimaryDisplay().workArea;
this.win_.setPosition(primaryDisplayWidth/2 - windowWidth, primaryDisplayHeight/2 - windowHeight);
this.win_.setPosition(primaryDisplayWidth / 2 - windowWidth, primaryDisplayHeight / 2 - windowHeight);
}
this.win_.loadURL(url.format({