mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-12 01:45:54 +00:00
Resize cursor on start
This commit is contained in:
parent
7ec389c7bb
commit
ed4f708ae9
4 changed files with 9 additions and 2 deletions
|
|
@ -53,6 +53,11 @@ public partial class GlobalState : Node
|
|||
}
|
||||
|
||||
private void OnSizeChanged()
|
||||
{
|
||||
ResizeCursor();
|
||||
}
|
||||
|
||||
public void ResizeCursor()
|
||||
{
|
||||
var root = GetTree().GetRoot();
|
||||
var baseSize = root.ContentScaleSize;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue