Skip to content

Commit

Permalink
- linting
Browse files Browse the repository at this point in the history
  • Loading branch information
Kyusung4698 committed Dec 28, 2019
1 parent 2bbe81d commit e98e273
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/app/core/service/input/window.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export class WindowService {
return bounds;
}

public quit(): void{
public quit(): void {
this.electron.app.quit();
}

Expand Down
4 changes: 2 additions & 2 deletions src/app/modules/evaluate/service/evaluate.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ export class EvaluateService {
const avgHeight = 200;

const bounds = this.window.getBounds();
let left = Math.min(Math.max(point.x - width * 0.5, bounds.x), bounds.x + bounds.width - width);
let top = Math.min(Math.max(point.y - avgHeight * 0.5, bounds.y), bounds.y + bounds.height - avgHeight);
const left = Math.min(Math.max(point.x - width * 0.5, bounds.x), bounds.x + bounds.width - width);
const top = Math.min(Math.max(point.y - avgHeight * 0.5, bounds.y), bounds.y + bounds.height - avgHeight);

this.window.enableInput();
return this.dialog.open(EvaluateDialogComponent, {
Expand Down

0 comments on commit e98e273

Please sign in to comment.