diff --git a/GUI.NET/Debugger/Controls/ctrlEventViewerPpuView.cs b/GUI.NET/Debugger/Controls/ctrlEventViewerPpuView.cs index 1c2684f3..b3e5ea98 100644 --- a/GUI.NET/Debugger/Controls/ctrlEventViewerPpuView.cs +++ b/GUI.NET/Debugger/Controls/ctrlEventViewerPpuView.cs @@ -311,7 +311,7 @@ namespace Mesen.GUI.Debugger.Controls Form parentForm = this.FindForm(); _tooltip = new frmCodeTooltip(parentForm, values, null, null, null, 10); _tooltip.FormClosed += (s, evt) => { _tooltip = null; }; - Point location = this.PointToScreen(new Point(e.Location.X - picViewer.ScrollOffsets.X, e.Location.Y - picViewer.ScrollOffsets.Y)); + Point location = Control.MousePosition; location.Offset(10, 10); _tooltip.SetFormLocation(location, this); }