mirror of
https://github.com/DerTyp7/obs-twitch-camera-frame.git
synced 2025-10-30 13:17:14 +01:00
Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ae6d3f0ebf | ||
|
|
832aa9beb0 | ||
|
|
7bb209a8d6 | ||
|
|
85501820f1 | ||
|
|
b12a9742f1 | ||
|
|
9de4c7fc03 |
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
config.js
|
||||
10
js/app.js
10
js/app.js
@@ -16,21 +16,21 @@ function updateSubCount() {
|
||||
|
||||
function sub(subName) {
|
||||
frame.style.animationName = "subAnimation";
|
||||
frame.style.animationDuration = "2s";
|
||||
frame.style.animationDuration = "11s";
|
||||
|
||||
subCount.style.animationName = "backgroundSubAnimation";
|
||||
subCount.style.animationDuration = "2s";
|
||||
subCount.style.animationDuration = "11s";
|
||||
|
||||
subCount.innerText = subName + " " + subCountNumber;
|
||||
|
||||
setTimeout(() => {
|
||||
frame.style.animationName = "borderAnimation";
|
||||
frame.style.animationDuration = "20s";
|
||||
frame.style.animationDuration = "5s";
|
||||
|
||||
subCount.style.animationName = "backgroundAnimation";
|
||||
subCount.style.animationDuration = "20s";
|
||||
subCount.style.animationDuration = "5s";
|
||||
subCount.innerText = subCountNumber;
|
||||
updateSubCount();
|
||||
}, 2000);
|
||||
}, 11000);
|
||||
}
|
||||
updateSubCount();
|
||||
|
||||
Reference in New Issue
Block a user