private void UpdateSceneSize() { Vector2f sceneSize = new Vector2f(100.0f, 100.0f); if(this.SelectedScene != null) { sceneSize = this.SelectedScene.Size; } if(this.ScalingHelper != null) { this.ScalingHelper.VisibleArea = sceneSize; } else { this.Size = sceneSize.ToSystemSize(); } }