mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
Get the right row to display tooltips on
This commit is contained in:
@@ -225,7 +225,7 @@ namespace TreelistView
|
||||
|
||||
Node node = m_tooltipNode;
|
||||
|
||||
int visibleRowIndex = NodeCollection.GetVisibleNodeIndex(node);
|
||||
int visibleRowIndex = CalcHitRow(PointToClient(Cursor.Position));
|
||||
|
||||
Rectangle rowRect = CalcRowRectangle(visibleRowIndex);
|
||||
rowRect.X = RowHeaderWidth() - HScrollValue();
|
||||
|
||||
Reference in New Issue
Block a user