@@ -13,6 +13,14 @@ class WeakPtrNode : BaseReferenceNode
13
13
/// <summary>Size of the node in bytes.</summary>
14
14
public override int MemorySize => IntPtr . Size ;
15
15
16
+
17
+ /// <summary>Disable the cycle check for pointer references.</summary>
18
+ public WeakPtrNode ( )
19
+ : base ( false )
20
+ {
21
+
22
+ }
23
+
16
24
/// <summary>Called when the node was created. Creates a new class as inner node.</summary>
17
25
public override void Intialize ( )
18
26
{
@@ -47,7 +55,7 @@ public override int Draw(ViewInfo view, int x, int y)
47
55
x = AddText ( view , x , y , FrostbitePluginExt . Settings . TypeColor , HotSpot . NoneId , "WeakPtr" ) + view . Font . Width ;
48
56
x = AddText ( view , x , y , FrostbitePluginExt . Settings . NameColor , HotSpot . NameId , Name ) + view . Font . Width ;
49
57
x = AddText ( view , x , y , FrostbitePluginExt . Settings . ValueColor , HotSpot . NoneId , $ "<{ InnerNode . Name } >") ;
50
- x = AddIcon ( view , x , y , Icons . Change , 4 , HotSpotType . ChangeAll ) ;
58
+ x = AddIcon ( view , x , y , Icons . Change , 4 , HotSpotType . ChangeType ) ;
51
59
52
60
x += view . Font . Width ;
53
61
x = AddComment ( view , x , y ) ;
0 commit comments