added new config param for snapping graphs to top and bottom line
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "nls-guilloche-generator",
|
||||
"version": "1.0.0-rc.5",
|
||||
"version": "1.0.0-rc.6",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/nextlevelshit/nls-guilloche-generator"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "nls-guilloche",
|
||||
"version": "1.0.0-rc.5",
|
||||
"version": "1.0.0-rc.6",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/nextlevelshit/nls-guilloche-generator"
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
* Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
*/
|
||||
|
||||
import { ViewChild, Component, Input, Output, SimpleChanges, OnChanges, EventEmitter, OnInit, HostListener } from '@angular/core';
|
||||
import { ViewChild, Component, Input, Output, SimpleChanges, OnChanges, EventEmitter, HostListener } from '@angular/core';
|
||||
import { Observable, interval, Subscription } from 'rxjs';
|
||||
import * as Selection from 'd3-selection';
|
||||
import * as Shape from 'd3-shape';
|
||||
@@ -35,7 +35,7 @@ import { NlsGraphService } from './../services/graph.service';
|
||||
templateUrl: './graphs.component.html',
|
||||
styleUrls: ['./graphs.component.scss']
|
||||
})
|
||||
export class NlsGraphsComponent implements OnChanges, OnInit {
|
||||
export class NlsGraphsComponent implements OnChanges {
|
||||
|
||||
public canvas: any | null;
|
||||
public matrix: any | null;
|
||||
@@ -68,9 +68,6 @@ export class NlsGraphsComponent implements OnChanges, OnInit {
|
||||
this.genLoadedAllGraphs = this.countLoadedGraphs();
|
||||
}
|
||||
|
||||
ngOnInit() {
|
||||
}
|
||||
|
||||
ngOnChanges(changes: SimpleChanges) {
|
||||
this.config.autoHeight = true;
|
||||
this.updateCanvas();
|
||||
|
||||
Reference in New Issue
Block a user