- Fix native tooltip offset
- Improve tooltip clipping handling
This commit is contained in:
@@ -27,6 +27,11 @@ public static class MathUtil
|
||||
|
||||
public Rectangle(Vector2 pos, Vector2 size)
|
||||
: this((int) pos.X, (int) pos.Y, (int) size.X, (int) size.Y) { }
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return $"X: {X} Y: {Y} Width: {Width} Height: {Height}";
|
||||
}
|
||||
}
|
||||
|
||||
// From: https://stackoverflow.com/a/306379
|
||||
|
||||
Reference in New Issue
Block a user