Skip to content

Commit

Permalink
requires restart notice on osc options
Browse files Browse the repository at this point in the history
  • Loading branch information
LucHeart committed Apr 24, 2024
1 parent 716eae4 commit 142a935
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 1 addition & 3 deletions ShockOsc/Ui/Components/SideBar.razor
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,7 @@
<div Class="pa-4">

<MudText Style="font-size: 10pt">ShockOSC v@(Version)</MudText>

<div class="d-flex gap-5" style="flex-wrap: wrap">
<div class="d-flex gap-5" style="flex-wrap: wrap; margin: 10px 0;">
<StatePart Text="Hub" Icon="@Icons.Material.Filled.Wifi"
IconColor="@GetConnectionStateColor(ApiHubClient.State)"
Tooltip="@ApiHubClient.State.ToString()">
Expand All @@ -72,7 +71,6 @@


</div>

<UpdateLogout/>
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions ShockOsc/Ui/Components/Tabs/AppSettingsTab.razor
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
</MudPaper>

<MudPaper Outlined="true" Class="rounded-lg mud-paper-padding-margin">
<MudText>OSC Options</MudText>
<MudText>OSC Options (changing requires restart)</MudText>
<MudDivider/>
<MudCheckBox Class="option-width option-checkbox-height" @bind-Value="ConfigManager.Config.Osc.QuestSupport" Label="Quest Support" @bind-Value:after="OnSettingsValueChange"/>
<MudCheckBox Class="option-width option-checkbox-height" @bind-Value="ConfigManager.Config.Osc.OscQuery" Label="OSC Query (requires restart)" @bind-Value:after="OnSettingsValueChange"/>
<MudCheckBox Class="option-width option-checkbox-height" @bind-Value="ConfigManager.Config.Osc.OscQuery" Label="OSC Query" @bind-Value:after="OnSettingsValueChange"/>
@if (!ConfigManager.Config.Osc.OscQuery)
{
<br/>
Expand Down

0 comments on commit 142a935

Please sign in to comment.