mirror of
https://github.com/projectstorm/react-diagrams.git
synced 2025-08-26 07:51:10 +08:00
fix more bugs
This commit is contained in:
@ -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 {
|
||||
|
@ -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;
|
||||
|
Reference in New Issue
Block a user