Fixing check for field that was removed
This commit is contained in:
parent
7b74e5e997
commit
c82cfa1d23
5 changed files with 5 additions and 8 deletions
|
|
@ -54,8 +54,7 @@ export class RainbowTextEffect extends ButtonEffect {
|
|||
|
||||
// Get text configuration
|
||||
const text = controlValues[`button-text${suffix}`] || '';
|
||||
const enabled = controlValues[`text${suffix}-enabled`];
|
||||
if (!text || !enabled) return;
|
||||
if (!text || text.trim() === '') return;
|
||||
|
||||
// Check if wave is also enabled - if so, skip (wave will handle rainbow)
|
||||
if (controlValues[`animate-text-wave${suffix}`]) return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue