mirror of
https://github.com/supabase/supabase.git
synced 2026-10-09 03:15:06 +03:00
changeTemplate() used to overwrite patternType/Scale/Opacity with the new template's defaultPattern on every switch. Template and background are meant to be independent controls, so it now only sets the template. AI suggestions are unaffected — applySuggestion() already sets the pattern separately, right after calling changeTemplate(), when the suggestion includes one. Verified: set pattern to vlines, switched template to centered (whose default is dots), pattern select stayed on vlines. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>