From 1e45611e0f6511ab2d894c092fb86351d3613e99 Mon Sep 17 00:00:00 2001 From: fsdavid <daviti1@mail.com> Date: Tue, 7 Jan 2020 13:38:54 +0100 Subject: [PATCH] Clear lint --- .../takeScreenshot.component.ts | 32 +++++++++---------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/src/ui/takeScreenshot/takeScreenshot.component.ts b/src/ui/takeScreenshot/takeScreenshot.component.ts index 1c46799bf..ca8ce9972 100644 --- a/src/ui/takeScreenshot/takeScreenshot.component.ts +++ b/src/ui/takeScreenshot/takeScreenshot.component.ts @@ -1,14 +1,14 @@ import {DOCUMENT} from "@angular/common"; import { - ChangeDetectorRef, - Component, - ElementRef, EventEmitter, - HostListener, - Inject, OnDestroy, - OnInit, Output, - Renderer2, - TemplateRef, - ViewChild, + ChangeDetectorRef, + Component, + ElementRef, EventEmitter, + HostListener, + Inject, OnDestroy, + OnInit, Output, + Renderer2, + TemplateRef, + ViewChild, } from "@angular/core"; import {MatDialog, MatDialogRef} from "@angular/material/dialog"; import html2canvas from "html2canvas"; @@ -21,10 +21,10 @@ import html2canvas from "html2canvas"; export class TakeScreenshotComponent implements OnInit, OnDestroy { - ngOnDestroy(): void { - if (this.resettingScreenshotTaking) this.resetScreenshot.emit(true) - this.resettingScreenshotTaking = false - } + ngOnDestroy(): void { + if (this.resettingScreenshotTaking) this.resetScreenshot.emit(true) + this.resettingScreenshotTaking = false + } @ViewChild('screenshotPreviewCard', {read: ElementRef}) public screenshotPreviewCard: ElementRef @ViewChild('previewImageDialog', {read: TemplateRef}) public previewImageDialogTemplateRef: TemplateRef<any> @@ -78,7 +78,7 @@ export class TakeScreenshotComponent implements OnInit, OnDestroy { this.windowWidth = window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth this.windowHeight = window.innerHeight || document.documentElement.clientHeight || document.body.clientHeight - this.startScreenshot() + this.startScreenshot() } @@ -256,8 +256,8 @@ export class TakeScreenshotComponent implements OnInit, OnDestroy { } public restartScreenshot() { - this.resettingScreenshotTaking = true - this.resetScreenshot.emit(false) + this.resettingScreenshotTaking = true + this.resetScreenshot.emit(false) } public cancelTakingScreenshot() { -- GitLab