Adding more fonts
This commit is contained in:
parent
f980d65c86
commit
9a73e6c94d
4 changed files with 139 additions and 83 deletions
|
|
@ -125,6 +125,10 @@ export class StandardTextEffect extends ButtonEffect {
|
|||
{ value: "VT323", label: "VT323" },
|
||||
{ value: "Press Start 2P", label: "Press Start 2P" },
|
||||
{ value: "DSEG7-Classic", label: "DSEG7" },
|
||||
{ value: "Pixelify Sans", label: "Pixelify Sans" },
|
||||
{ value: "Bungee Spice", label: "Bungee Spice" },
|
||||
{ value: "Creepster", label: "Creepster" },
|
||||
{ value: "Barrio", label: "Barrio" },
|
||||
],
|
||||
},
|
||||
{
|
||||
|
|
@ -154,7 +158,16 @@ export class StandardTextEffect extends ButtonEffect {
|
|||
const bounceActive = controlValues[`animate-text-bounce${suffix}`];
|
||||
const glowActive = controlValues[`animate-text-glow${suffix}`];
|
||||
|
||||
return text && text.trim() !== "" && !waveActive && !rainbowActive && !spinActive && !tickerActive && !bounceActive && !glowActive;
|
||||
return (
|
||||
text &&
|
||||
text.trim() !== "" &&
|
||||
!waveActive &&
|
||||
!rainbowActive &&
|
||||
!spinActive &&
|
||||
!tickerActive &&
|
||||
!bounceActive &&
|
||||
!glowActive
|
||||
);
|
||||
}
|
||||
|
||||
apply(context, controlValues, animState, renderData) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue