- Fix native tooltip offset

- Improve tooltip clipping handling
This commit is contained in:
Infi
2025-03-27 17:17:53 +01:00
parent bc78f65b50
commit fb89666f8d
4 changed files with 50 additions and 3 deletions
+5
View File
@@ -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