Fix drawings

This commit is contained in:
ziajka 2018-11-08 13:09:37 +01:00
parent 9d35d47d50
commit 56138f7fb7

View File

@ -99,7 +99,7 @@ export class MapComponent implements OnInit, OnChanges, OnDestroy {
@Input('readonly') set readonly(value) {
this.nodesWidget.draggingEnabled = !value;
this.drawingsWidget.draggingEnabled == !value;
this.drawingsWidget.draggingEnabled = !value;
}
ngOnChanges(changes: { [propKey: string]: SimpleChange }) {