Specify RelativeSizeAxes in ctor

This is basically always the behaviour we want.
This commit is contained in:
Dean Herbert 2018-11-26 17:07:20 +09:00
parent 626048038c
commit 266873740d
1 changed files with 1 additions and 0 deletions

View File

@ -32,6 +32,7 @@ public class IdleTracker : Component, IKeyBindingHandler<PlatformAction>, IHandl
public IdleTracker(double timeToIdle)
{
this.timeToIdle = timeToIdle;
RelativeSizeAxes = Axes.Both;
}
protected override void Update()