Hex Editor - better location for the poke dialog, don't attempt to highlight non-visible addresses (fixes some bad drawing when highlighting and scrolling)
This commit is contained in:
parent
ebf7273cbe
commit
1c6d6f57bc
|
@ -1458,7 +1458,7 @@ namespace BizHawk.Client.EmuHawk
|
|||
{
|
||||
var poke = new RamPoke
|
||||
{
|
||||
InitialLocation = PointToScreen(GetAddressCoordinates(addresses[0])),
|
||||
InitialLocation = this.ChildPointToScreen(AddressLabel),
|
||||
ParentTool = this
|
||||
};
|
||||
|
||||
|
@ -1984,6 +1984,8 @@ namespace BizHawk.Client.EmuHawk
|
|||
}
|
||||
|
||||
foreach (var address in _secondaryHighlightedAddresses)
|
||||
{
|
||||
if (IsVisible(address))
|
||||
{
|
||||
var point = GetAddressCoordinates(address);
|
||||
var textX = (int)GetTextX(address);
|
||||
|
@ -2005,6 +2007,7 @@ namespace BizHawk.Client.EmuHawk
|
|||
e.Graphics.FillRectangle(new SolidBrush(Color.FromArgb(0x77FFD4D4)), textrect);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (HasNibbles())
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue