fix var name
This commit is contained in:
parent
82b11d2eba
commit
6f255d68b4
@ -26,7 +26,7 @@ export class EditableInputComponent implements OnChanges {
|
||||
@Input() helpModeKey: string = '';
|
||||
@Input() lastChild = false;
|
||||
@Output() readonly save = new EventEmitter<string>();
|
||||
textAreaSize?: { width: number; height: number };
|
||||
textArea?: { width: number; height: number };
|
||||
newValue = '';
|
||||
|
||||
private _editing = false;
|
||||
@ -60,7 +60,7 @@ export class EditableInputComponent implements OnChanges {
|
||||
const lastChildIndex = Number(this.id?.split('-')[2]);
|
||||
height = height - lastChildIndex * element.offsetHeight;
|
||||
}
|
||||
this.textAreaSize = { width, height };
|
||||
this.textArea = { width, height };
|
||||
}, 50);
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user