Skip to content

Commit 40e2f59

Browse files
authored
Update FPS display format in GeneralTabView
1 parent 93ac36b commit 40e2f59

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/Artemis.UI/Screens/Settings/Tabs/GeneralTabView.axaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
x:Class="Artemis.UI.Screens.Settings.GeneralTabView"
1313
x:DataType="settings:GeneralTabViewModel">
1414

15+
<Grid>
16+
1517
<!-- FPS COUNTER OVERLAY -->
1618
<Border Background="#33000000"
1719
Padding="6"
@@ -21,7 +23,7 @@
2123
VerticalAlignment="Top">
2224
<StackPanel Orientation="Horizontal" Spacing="6">
2325
<avalonia:MaterialIcon Kind="Speedometer" Width="18" Height="18"/>
24-
<TextBlock Text="{CompiledBinding CurrentFps, StringFormat='FPS: {0}'}"
26+
<TextBlock Text="{CompiledBinding CurrentFps, StringFormat='FPS: {0:F1}'}"
2527
FontWeight="Bold"/>
2628
</StackPanel>
2729
</Border>

0 commit comments

Comments
 (0)