Skip to content

Commit

Permalink
redid preview positions and version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
legoandmars committed Feb 10, 2021
1 parent 60d8e29 commit 864e0e9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions CustomNotes/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("2.2.0")]
[assembly: AssemblyFileVersion("2.2.0")]
[assembly: AssemblyVersion("2.2.1")]
[assembly: AssemblyFileVersion("2.2.1")]
3 changes: 2 additions & 1 deletion CustomNotes/Settings/UI/NoteListViewController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ protected override void DidActivate(bool firstActivation, bool addedToHierarchy,
preview = new GameObject();
preview.transform.Rotate(0.0f, 60.0f, 0.0f);
preview.transform.localScale = new Vector3(0.3f, 0.3f, 0.3f);
preview.name = "NotePreviewContainer";
}

int selectedNote = _noteAssetLoader.SelectedNote;
Expand Down Expand Up @@ -153,7 +154,7 @@ private void GenerateNotePreview(int selectedNote)
private void InitializePreviewNotes(CustomNote customNote, Transform transform)
{
// Position previewer based on the CustomNote having a NoteBomb
preview.transform.position = customNote.NoteBomb ? new Vector3(2.1f, 0.9f, 1.60f) : new Vector3(2.25f, 0.9f, 1.45f);
preview.transform.position = customNote.NoteBomb ? new Vector3(3.05f, 0.9f, 2.0f) : new Vector3(2.90f, 0.9f, 1.85f);

noteLeft = CreatePreviewNote(customNote.NoteLeft, transform, leftArrowPos);
noteDotLeft = CreatePreviewNote(customNote.NoteDotLeft, transform, leftDotPos);
Expand Down
2 changes: 1 addition & 1 deletion CustomNotes/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"icon": "CustomNotes.Resources.Icons.icon.png",
"id": "Custom Notes",
"name": "CustomNotes",
"version": "2.2.0",
"version": "2.2.1",
"dependsOn": {
"BSIPA": "^4.1.3",
"BeatSaberMarkupLanguage": "^1.3.5",
Expand Down

0 comments on commit 864e0e9

Please sign in to comment.