mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-26 15:57:56 +01:00
Don't copy this
This commit is contained in:
@@ -564,13 +564,11 @@ public partial class View
|
||||
return null;
|
||||
}
|
||||
|
||||
Rectangle startFrame = start.Frame;
|
||||
|
||||
if (start.InternalSubviews is { Count: > 0 })
|
||||
{
|
||||
Point boundsOffset = start.GetBoundsOffset ();
|
||||
int rx = x - (startFrame.X + boundsOffset.X);
|
||||
int ry = y - (startFrame.Y + boundsOffset.Y);
|
||||
int rx = x - (start.Frame.X + boundsOffset.X);
|
||||
int ry = y - (start.Frame.Y + boundsOffset.Y);
|
||||
|
||||
for (int i = start.InternalSubviews.Count - 1; i >= 0; i--)
|
||||
{
|
||||
@@ -585,8 +583,8 @@ public partial class View
|
||||
}
|
||||
}
|
||||
|
||||
resultX = x - startFrame.X;
|
||||
resultY = y - startFrame.Y;
|
||||
resultX = x - start.Frame.X;
|
||||
resultY = y - start.Frame.Y;
|
||||
|
||||
return start;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user