Skip to content

Commit

Permalink
BSML changes
Browse files Browse the repository at this point in the history
  • Loading branch information
qqrz997 committed Sep 9, 2024
1 parent f33b940 commit 7e3ab16
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions HitScoreVisualizer/UI/ConfigSelectorViewController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ internal void UnpickConfig()
return;
}

customListTableData.tableView.ClearSelection();
customListTableData.TableView.ClearSelection();
});

configProvider.UnselectUserConfig();
Expand Down Expand Up @@ -180,11 +180,11 @@ private async Task LoadInternal()

await UnityMainThreadTaskScheduler.Factory.StartNew(() =>
{
customListTableData.tableView.ReloadData();
customListTableData.tableView.ScrollToCellWithIdx(0, TableView.ScrollPositionType.Beginning, false);
customListTableData.TableView.ReloadData();
customListTableData.TableView.ScrollToCellWithIdx(0, TableView.ScrollPositionType.Beginning, false);
if (currentConfigIndex >= 0)
{
customListTableData.tableView.SelectCellWithIdx(currentConfigIndex, true);
customListTableData.TableView.SelectCellWithIdx(currentConfigIndex, true);
}

LoadingConfigs = false;
Expand Down
4 changes: 2 additions & 2 deletions HitScoreVisualizer/UI/SettingsControllerManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ internal class SettingsControllerManager(UBinder<Plugin, PluginMetadata> pluginM
public void Initialize()
{
hsvButton = new MenuButton($"<size=89.5%>{pluginMetadata.Name}", "Select the config you want.", OnClick);
MenuButtons.instance.RegisterButton(hsvButton);
MenuButtons.Instance.RegisterButton(hsvButton);
}

private void OnClick()
Expand All @@ -37,7 +37,7 @@ public void Dispose()
return;
}

MenuButtons.instance.UnregisterButton(hsvButton);
MenuButtons.Instance.UnregisterButton(hsvButton);

hsvButton = null!;
}
Expand Down
6 changes: 3 additions & 3 deletions HitScoreVisualizer/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
"name": "HitScoreVisualizer",
"description": "Visualizes the scores of your hits! Overly complex config options! Numbers? All the pros use it, except the ones who don't. (But they should.)",
"author": "Eris",
"gameVersion": "1.37.4",
"version": "3.4.1",
"gameVersion": "1.37.5",
"version": "3.4.2",
"dependsOn": {
"BSIPA": "^4.3.5",
"BeatSaberMarkupLanguage": "^1.11.4",
"BeatSaberMarkupLanguage": "^1.12.0",
"SiraUtil": "^3.1.12"
},
"conflictsWith": {
Expand Down

0 comments on commit 7e3ab16

Please sign in to comment.