Fix display of arrays.
This commit is contained in:
parent
f88b0f8378
commit
7393c76dd0
3 changed files with 9 additions and 3 deletions
|
@ -1 +1 @@
|
||||||
const VERSION = "0.072124.0607";
|
const VERSION = "0.072124.0628";
|
||||||
|
|
|
@ -125,7 +125,13 @@ class EditorState extends State<Editor> {
|
||||||
),
|
),
|
||||||
body: TreeView(
|
body: TreeView(
|
||||||
nodeBuilder: (context, node) {
|
nodeBuilder: (context, node) {
|
||||||
return TagExt.render(node.data as Tag, context, didChangeState);
|
if (node.data is Tag) {
|
||||||
|
return TagExt.render(node.data as Tag, context, didChangeState);
|
||||||
|
} else {
|
||||||
|
return ListTile(
|
||||||
|
title: Text("${node.label}"),
|
||||||
|
);
|
||||||
|
}
|
||||||
},
|
},
|
||||||
controller: controller,
|
controller: controller,
|
||||||
),
|
),
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
name: nbteditor
|
name: nbteditor
|
||||||
description: A Minecraft NBT Editor written in Flutter
|
description: A Minecraft NBT Editor written in Flutter
|
||||||
publish_to: 'none'
|
publish_to: 'none'
|
||||||
version: 0.072124.0607
|
version: 0.072124.0628
|
||||||
|
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue