fix more bugs

This commit is contained in:
Dylan Vorster
2018-02-23 18:58:34 +02:00
parent 6dea182ab8
commit a318b71ef1
5 changed files with 23 additions and 14 deletions

View File

@ -37,7 +37,10 @@ export class DefaultPortModel extends PortModel {
}
canLinkToPort(port: PortModel): boolean {
return port instanceof DefaultPortModel && this.in !== port.in;
if(port instanceof DefaultPortModel){
return this.in !== port.in;
}
return true;
}
createLinkModel(): LinkModel {

View File

@ -111,7 +111,6 @@
//box-shadow: 0 0 10px rgba(black,0.5);
.title{
/* background-image: linear-gradient(rgba(black,0.1),rgba(black,0.2));*/
background: rgba(black,0.3);
display: flex;
white-space: nowrap;