Skip to content

Commit

Permalink
Debugger: Fixed memory viewer display issue/freeze in some scenarios …
Browse files Browse the repository at this point in the history
…when highlight breakpoints option is enabled
  • Loading branch information
SourMesen committed May 27, 2024
1 parent d0adadd commit 32e8125
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion UI/Debugger/Controls/HexEditor.HexViewDrawOperation.cs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ public HexViewDrawOperation(HexEditor he, List<ByteInfo> dataToDraw, HashSet<Col
foreach(ByteInfo byteInfo in dataToDraw) {
if(!_skFillPaints.ContainsKey(byteInfo.BackColor)) {
_skFillPaints[byteInfo.BackColor] = new SKPaint() { Color = new SKColor(ColorHelper.GetColor(byteInfo.BackColor).ToUInt32()) };
} else if(!_skBorderPaints.ContainsKey(byteInfo.BorderColor)) {
}
if(!_skBorderPaints.ContainsKey(byteInfo.BorderColor)) {
_skBorderPaints[byteInfo.BorderColor] = new SKPaint() { Style = SKPaintStyle.Stroke, Color = new SKColor(ColorHelper.GetColor(byteInfo.BorderColor).ToUInt32()) };
}
}
Expand Down

0 comments on commit 32e8125

Please sign in to comment.