Skip to content

Commit

Permalink
Editor: Fix Post-Optimization Note Drag Bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Noisysundae committed May 25, 2022
1 parent 8847ab5 commit d11b37e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ Refer to the [Releases](https://github.com/Noisysundae/techmania-ns/releases) se

### Latest Versions

* **Windows:** [v1.0.2-ns (2022-05-08)](https://github.com/Noisysundae/techmania-ns/releases/tag/1.0.2-ns_20220508)
* **Android:** [v1.0.2-ns (2022-05-08)](https://github.com/Noisysundae/techmania-ns/releases/tag/1.0.2-ns_20220508)
* **Windows:** [v1.0.2-ns (2022-05-25)](https://github.com/Noisysundae/techmania-ns/releases/tag/1.0.2-ns_20220525)
* **Android:** [v1.0.2-ns (2022-05-25)](https://github.com/Noisysundae/techmania-ns/releases/tag/1.0.2-ns_20220525)
* **iOS:** [v1.0.2-ns (2022-04-03)](https://github.com/Noisysundae/techmania-ns/releases/tag/1.0.2-ns_20220403)

## Changes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ private struct NoteReference {

private NoteReference InsertNoteReference (GameObject o) {
NoteReference noteRef = new NoteReference();
noteRef.transform = o.GetComponent<RectTransform>();
noteRef.noteObject = o.GetComponent<NoteObject>();
noteRef.noteInEditor = o.GetComponent<NoteInEditor>();
noteRef.positioner = o.GetComponent<SelfPositionerInEditor>();
Expand Down Expand Up @@ -3261,7 +3262,6 @@ private void DeleteNote(Note n)
private void DeleteNoteObject(Note n, GameObject o,
bool intendToDeleteNote)
{
Debug.Log("t");
if (intendToDeleteNote)
{
AdjustPathBeforeDeleting(o);
Expand Down
2 changes: 1 addition & 1 deletion TECHMANIA/ProjectSettings/ProjectSettings.asset
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ PlayerSettings:
16:10: 1
16:9: 1
Others: 1
bundleVersion: 1.0.2-ns-20220508
bundleVersion: 1.0.2-ns-20220525
preloadedAssets: []
metroInputSource: 0
wsaTransparentSwapchain: 0
Expand Down

0 comments on commit d11b37e

Please sign in to comment.