Commit d8e4ce5
committed
fix(marker-display): error when changing resource
Fix #12 which occurred when loading resource after starting playback. This bug
didn't cause any component malfunctions, apart from displaying errors in the
console.
- adds a guard clause to `updateMarker` to update the marker only if
`getClientRects` is not empty1 parent da6f701 commit d8e4ce5
File tree
3 files changed
+5
-3
lines changed- src/markers/src
3 files changed
+5
-3
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| 71 | + | |
| 72 | + | |
71 | 73 | | |
72 | 74 | | |
73 | 75 | | |
| |||
0 commit comments