Skip to content

Commit

Permalink
Fix error when canceling operation
Browse files Browse the repository at this point in the history
  • Loading branch information
yojohanshinwataikei committed Nov 10, 2023
1 parent 1238fb9 commit bbfe979
Show file tree
Hide file tree
Showing 6 changed files with 454 additions and 56 deletions.
2 changes: 1 addition & 1 deletion Assets/Materials/Player/TrackBorderLeft.mat
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ Material:
- _Mode: 0
- _OcclusionStrength: 1
- _Parallax: 0.02
- _Phase: 0.26213914
- _Phase: 0
- _SmoothnessTextureChannel: 0
- _SpecularHighlights: 1
- _SrcBlend: 1
Expand Down
2 changes: 1 addition & 1 deletion Assets/Materials/Player/TrackBorderRight.mat
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ Material:
- _Mode: 0
- _OcclusionStrength: 1
- _Parallax: 0.02
- _Phase: 0.26213914
- _Phase: 0
- _SmoothnessTextureChannel: 0
- _SpecularHighlights: 1
- _SrcBlend: 1
Expand Down
2 changes: 1 addition & 1 deletion Assets/Materials/Player/TrackMain.mat
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ Material:
- _Mode: 0
- _OcclusionStrength: 1
- _Parallax: 0.02
- _Phase: 0.26213914
- _Phase: 0
- _SmoothnessTextureChannel: 0
- _SpecularHighlights: 1
- _SrcBlend: 1
Expand Down
7 changes: 7 additions & 0 deletions Assets/Misc/ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
0.5.2

- 强制音画同步现在默认关闭, 可以在设置窗口内重新打开
- 修复用快捷键取消部分操作时会报错的问题

---

0.5.1

- 轨道的速度现在会随着谱面流速变化了
Expand Down
2 changes: 1 addition & 1 deletion Assets/Scripts/Compose/Editing/AdeOperationManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ void Update()
{
CancelOngoingOperation();
}
if (ongoingOperation.Value.task.Status != UniTaskStatus.Pending)
if (ongoingOperation?.task.Status != UniTaskStatus.Pending)
{
ongoingOperation = null;
}
Expand Down
Loading

0 comments on commit bbfe979

Please sign in to comment.