Skip to content

Commit 9ad5f1f

Browse files
committed
Made more labels copy pastable.
1 parent a10c25c commit 9ad5f1f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Nodes/BaseHexCommentNode.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,17 @@ protected int AddComment(ViewInfo view, int x, int y, float fvalue, IntPtr ivalu
1515

1616
if (Program.Settings.ShowCommentFloat)
1717
{
18-
x = AddText(view, x, y, Program.Settings.ValueColor, HotSpot.NoneId, $"({(fvalue > -99999.0f && fvalue < 99999.0f ? fvalue : 0.0f):0.000})");
18+
x = AddText(view, x, y, Program.Settings.ValueColor, HotSpot.ReadOnlyId, $"({(fvalue > -99999.0f && fvalue < 99999.0f ? fvalue : 0.0f):0.000})");
1919
}
2020
if (Program.Settings.ShowCommentInteger)
2121
{
2222
if (ivalue == IntPtr.Zero)
2323
{
24-
x = AddText(view, x, y, Program.Settings.ValueColor, HotSpot.NoneId, "(0)");
24+
x = AddText(view, x, y, Program.Settings.ValueColor, HotSpot.ReadOnlyId, "(0)");
2525
}
2626
else
2727
{
28-
x = AddText(view, x, y, Program.Settings.ValueColor, HotSpot.NoneId, $"({ivalue.ToInt64()}|0x{uvalue.ToUInt64():X})");
28+
x = AddText(view, x, y, Program.Settings.ValueColor, HotSpot.ReadOnlyId, $"({ivalue.ToInt64()}|0x{uvalue.ToUInt64():X})");
2929
}
3030
}
3131

0 commit comments

Comments
 (0)