mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-02-21 02:01:19 +00:00
Code cleaned up
This commit is contained in:
parent
669fcc0ddc
commit
27fa5f86fb
@ -1,6 +1,5 @@
|
||||
<div #temporaryTextElement id="temporaryElement" class="temporaryElement" contenteditable="true"
|
||||
[style.top]=topPosition
|
||||
[style.left]=leftPosition
|
||||
[style.display]=display>
|
||||
[style.left]=leftPosition>
|
||||
{{innerText}}
|
||||
</div>
|
||||
</div>
|
@ -17,9 +17,9 @@ export class TextEditorComponent implements OnInit, OnDestroy {
|
||||
@ViewChild('temporaryTextElement') temporaryTextElement: ElementRef;
|
||||
@Input('svg') svg: SVGSVGElement;
|
||||
|
||||
private leftPosition: string = '0px';
|
||||
private topPosition: string = '0px';
|
||||
private innerText: string = '';
|
||||
leftPosition: string = '0px';
|
||||
topPosition: string = '0px';
|
||||
innerText: string = '';
|
||||
|
||||
private editingDrawingId: string;
|
||||
private editedElement: any;
|
||||
|
Loading…
x
Reference in New Issue
Block a user