diff options
| author | bobzel <zzzman@gmail.com> | 2023-08-23 20:56:42 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2023-08-23 20:56:42 -0400 |
| commit | 288a74c91d9f8eecbae68fd6b2fe1e18ed2254e7 (patch) | |
| tree | a1581c1f633543a99ece2c0b0ffc72953b7423ef /src/client/views/nodes/trails | |
| parent | 1bb554c64e235c89db47b7ca5bb86a5edfb13ec8 (diff) | |
| parent | 1367f56a7898a125d46d9ebfb8cbfe81617180ad (diff) | |
Merge branch 'master' into UI_Update_Eric_Ma
Diffstat (limited to 'src/client/views/nodes/trails')
| -rw-r--r-- | src/client/views/nodes/trails/PresBox.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/trails/PresBox.tsx b/src/client/views/nodes/trails/PresBox.tsx index 232bbc111..a94f1f04b 100644 --- a/src/client/views/nodes/trails/PresBox.tsx +++ b/src/client/views/nodes/trails/PresBox.tsx @@ -257,7 +257,7 @@ export class PresBox extends ViewBoxBaseComponent<FieldViewProps>() { const serial = nextSelected + 1 < this.childDocs.length && NumCast(this.childDocs[nextSelected + 1].presentation_groupWithUp) > 1; if (serial) { this.gotoDocument(nextSelected, this.activeItem, true, async () => { - const waitTime = NumCast(this.activeItem.presentation_duration) - NumCast(this.activeItem.presentation_transition); + const waitTime = NumCast(this.activeItem.presentation_duration); await new Promise<void>(res => setTimeout(() => res(), Math.max(0, waitTime))); doGroupWithUp(nextSelected + 1)(); }); |
