Skip to content

Commit 8648636

Browse files
committed
improve dictionary presentation
1 parent 8a9a174 commit 8648636

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

natvis/godot-cpp.natvis

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,7 @@
7777
<Variable Name="elem" InitialValue="(unsigned char*)_head()"/>
7878
<Variable Name="idx" InitialValue="0"/>
7979
<Loop Condition="elem != 0">
80-
<Item Name="[{idx}].key">*(godot::Variant*)(elem + 16)</Item>
81-
<Item Name="[{idx}].value">*(godot::Variant*)(elem + 40)</Item>
80+
<Item Name="[{idx}]">(godot::Variant*)(elem + 16),[2]</Item>
8281
<Exec>elem = *(unsigned char**)elem</Exec>
8382
<Exec>idx++</Exec>
8483
</Loop>

0 commit comments

Comments
 (0)