Skip to content

Commit

Permalink
Merge pull request #53 from Bitspark/add-operator
Browse files Browse the repository at this point in the history
Add operator
  • Loading branch information
jm9e committed Aug 7, 2018
2 parents 47f1dee + 58a43f9 commit d2e05f2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/app/components/operator-list.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {compareOperatorDefs} from '../utils';
})
export class OperatorListComponent implements OnInit {
@Input()
private operatorList: Array<OperatorDef> = [];
private operatorList: Array<OperatorDef>;
@Input()
public buttonIcon = '';
@Output()
Expand Down
3 changes: 2 additions & 1 deletion src/app/components/operator.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@
<div class="sl-ui-mainbar col">
<div id="sl-svg-container" [ngClass]="{'large': !debugState}">

<svg (focusin)="canvasFocus=true" (focusout)="canvasFocus=false" [attr.width]="50000*scale" [attr.height]="50000*scale"
<svg (mouseenter)="canvasFocus=true" (mouseleave)="canvasFocus=false"
[attr.width]="50000*scale" [attr.height]="50000*scale"
viewBox="0 0 50000 50000"
xmlns:svg="http://www.w3.org/2000/svg"
(mousedown)="mouseTracker.start($event)"
Expand Down
1 change: 0 additions & 1 deletion src/app/components/operator.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ export class OperatorComponent implements OnInit {
public hoveredConn: Connection = null;
public selectedEntity = {entity: null as any};
public scale = 0.6;
public filterString = '';
public isOperatorSaved = false;
public canvasFocus = false;

Expand Down

0 comments on commit d2e05f2

Please sign in to comment.