mirror of
https://github.com/twonlyapp/twonly-app.git
synced 2026-01-15 12:48:41 +00:00
#226 also for text layer
This commit is contained in:
parent
d04866879a
commit
b1ae78f48c
1 changed files with 2 additions and 0 deletions
|
|
@ -65,6 +65,8 @@ class _TextViewState extends State<TextLayer> {
|
||||||
child: TextField(
|
child: TextField(
|
||||||
controller: textController,
|
controller: textController,
|
||||||
autofocus: true,
|
autofocus: true,
|
||||||
|
maxLines: null,
|
||||||
|
minLines: 1,
|
||||||
onEditingComplete: () {
|
onEditingComplete: () {
|
||||||
setState(() {
|
setState(() {
|
||||||
widget.layerData.isDeleted = textController.text == "";
|
widget.layerData.isDeleted = textController.text == "";
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue