Fixing check for field that was removed

This commit is contained in:
Dan 2026-01-09 13:27:32 +00:00
parent 7b74e5e997
commit c82cfa1d23
5 changed files with 5 additions and 8 deletions

View file

@ -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;