#226 also for text layer

This commit is contained in:
otsmr 2025-07-11 14:18:15 +02:00
parent d04866879a
commit b1ae78f48c

View file

@ -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 == "";