mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-18 00:10:14 +01:00
parent
1e64e6b6e3
commit
8618446f65
1 changed files with 2 additions and 1 deletions
|
|
@ -11,6 +11,7 @@ import {
|
||||||
} from '@angular/core';
|
} from '@angular/core';
|
||||||
import { Location, LocationStrategy } from '@angular/common';
|
import { Location, LocationStrategy } from '@angular/common';
|
||||||
|
|
||||||
|
let uniqueId = 0;
|
||||||
const VIEW_BOX_SIZE = 300;
|
const VIEW_BOX_SIZE = 300;
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
|
|
@ -63,7 +64,7 @@ export class TemperatureDraggerComponent implements AfterViewInit, OnChanges {
|
||||||
off = false;
|
off = false;
|
||||||
oldValue: number;
|
oldValue: number;
|
||||||
|
|
||||||
svgControlId = new Date().getTime();
|
svgControlId = uniqueId++;
|
||||||
scaleFactor = 1;
|
scaleFactor = 1;
|
||||||
bottomAngleRad = 0;
|
bottomAngleRad = 0;
|
||||||
radius = 100;
|
radius = 100;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue