Resize cursor on start

This commit is contained in:
Marco 2025-04-04 09:53:29 +02:00
commit ed4f708ae9
4 changed files with 9 additions and 2 deletions

View file

@ -53,6 +53,11 @@ public partial class GlobalState : Node
}
private void OnSizeChanged()
{
ResizeCursor();
}
public void ResizeCursor()
{
var root = GetTree().GetRoot();
var baseSize = root.ContentScaleSize;