Skip to content

Commit bf27889

Browse files
authored
Merge pull request ppy#6554 from frenzibyte/envvar-2
Allow usage of "frame statistics via touch" envvar on release builds
2 parents 5e4e9b3 + 044f3e0 commit bf27889

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

osu.Framework/Game.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
using osu.Framework.Audio;
1010
using osu.Framework.Bindables;
1111
using osu.Framework.Configuration;
12-
using osu.Framework.Development;
1312
using osu.Framework.Graphics;
1413
using osu.Framework.Graphics.Containers;
1514
using osu.Framework.Graphics.Performance;
@@ -285,15 +284,15 @@ protected override void LoadComplete()
285284

286285
FrameStatistics.BindValueChanged(e => performanceOverlay.State = e.NewValue, true);
287286

288-
if (FrameworkEnvironment.FrameStatisticsViaTouch && DebugUtils.IsDebugBuild)
287+
if (FrameworkEnvironment.FrameStatisticsViaTouch)
289288
{
290289
base.AddInternal(new FrameStatisticsTouchReceptor(this)
291290
{
292291
Depth = float.MaxValue,
293292
Anchor = Anchor.BottomRight,
294293
Origin = Anchor.BottomRight,
295294
RelativeSizeAxes = Axes.Both,
296-
Size = new Vector2(0.5f),
295+
Size = new Vector2(0.2f),
297296
});
298297
}
299298
}

0 commit comments

Comments
 (0)