Refactor autumn configuration to enhance leaf count settings for mobile and desktop

This commit is contained in:
CodeDevMLH
2026-02-28 01:19:09 +01:00
parent 89ce903e8a
commit c43f031617
2 changed files with 12 additions and 18 deletions

View File

@@ -3,7 +3,7 @@ const config = window.SeasonalsPluginConfig?.Autumn || {};
const leaves = config.EnableAutumn !== undefined ? config.EnableAutumn : true; // enable/disable autumn
const enableDiffrentDuration = config.EnableDifferentDuration !== undefined ? config.EnableDifferentDuration : true; // enable different durations
const enableRotation = config.EnableRotation !== undefined ? config.EnableRotation : false; // enable/disable rotation
const leafCount = config.LeafCount !== undefined ? config.LeafCount : 25; // count of random extra leaves
const leafCount = config.LeafCount !== undefined ? config.LeafCount : 35; // count of random extra leaves
const leafCountMobile = config.LeafCountMobile !== undefined ? config.LeafCountMobile : 10; // count of random extra leaves on mobile
const images = [