- Fix native tooltip offset

- Improve tooltip clipping handling
This commit is contained in:
Infi committed 2025-03-27 17:17:53 +01:00
1 parent bc78f65b50
commit fb89666f8d
4 files changed
+50 -3

No files matched your search

+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