Skip to content

Commit

Permalink
upd
Browse files Browse the repository at this point in the history
  • Loading branch information
crashmax-dev committed Nov 6, 2023
1 parent b457fce commit 54a960d
Show file tree
Hide file tree
Showing 4 changed files with 264 additions and 297 deletions.
4 changes: 0 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3018,10 +3018,6 @@
await _fPause(cA.f);
}
break;
case 'StraightLine':
const r = shared.rnd(lK);
display.emote.list.StraightLine(kList[r], sW, sH, eH, false, false, false, tInit);
break
}
}

Expand Down
36 changes: 8 additions & 28 deletions src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,14 @@ export const kappagenAnimations = [
},
count: 150,
},
{
style: "Text",
prefs: {
message: ["Twir"],
time: 3,
},
count: 150,
},
{
style: "Confetti",
prefs: {},
Expand All @@ -29,21 +37,6 @@ export const kappagenAnimations = [
prefs: {},
count: 150,
},
{
style: "Crazy",
prefs: {},
count: 150,
},
{
style: "Speed",
prefs: {},
count: 150,
},
{
style: "Rise",
prefs: {},
count: 150,
},
{
style: "Fountain",
prefs: {},
Expand All @@ -59,14 +52,6 @@ export const kappagenAnimations = [
prefs: {},
count: 150,
},
{
style: "Text",
prefs: {
message: ["Twir"],
time: 3,
},
count: 150,
},
{
style: "Fireworks",
prefs: {},
Expand All @@ -77,9 +62,4 @@ export const kappagenAnimations = [
prefs: {},
count: 150,
},
{
style: "StraightLine",
prefs: {},
count: 150,
},
];
1 change: 0 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ const emote = {
const buttonKappagen = document.createElement("button");
buttonKappagen.textContent = "Kappagen";
buttonKappagen.addEventListener("click", () => {
window.emote.showEmotes();
window.kappagen.show(
[emote],
kappagenAnimations[window.rnd(kappagenAnimations.length)]
Expand Down
Loading

0 comments on commit 54a960d

Please sign in to comment.