Debugger: Memory Tools - Fixed minor highlight issue in high density text mode
This commit is contained in:
parent
624809545b
commit
bebe1e3938
1 changed files with 2 additions and 1 deletions
|
@ -2612,7 +2612,8 @@ namespace Be.Windows.Forms
|
||||||
|
|
||||||
//Draw string view
|
//Draw string view
|
||||||
SizeF stringSize = g.MeasureString(stringToDisplay, Font, 1000, _stringFormat);
|
SizeF stringSize = g.MeasureString(stringToDisplay, Font, 1000, _stringFormat);
|
||||||
g.FillRectangle(bgBrush, xPos, bytePointF.Y, stringSize.Width, _charSize.Height);
|
float yPos = bytePointF.Y + (HighDensityMode ? _highDensityModeOffset : 0);
|
||||||
|
g.FillRectangle(bgBrush, xPos, yPos, stringSize.Width, _charSize.Height);
|
||||||
drawCaret();
|
drawCaret();
|
||||||
g.DrawString(stringToDisplay, Font, fgBrush, new PointF(xPos, bytePointF.Y), _stringFormat);
|
g.DrawString(stringToDisplay, Font, fgBrush, new PointF(xPos, bytePointF.Y), _stringFormat);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue