feat: Bump version to 1.1.0.0 and add advanced configuration options for seasonal effects
Enhanced JavaScript files for autumn, christmas, easter, fireworks, halloween, hearts, santa, snowfall, snowflakes, and snowstorm to support configuration options via window.SeasonalsPluginConfig. Added automatic theme selection based on date in README.md.
This commit is contained in:
@@ -21,12 +21,7 @@ public class SeasonalsController : ControllerBase
|
||||
[Produces("application/json")]
|
||||
public ActionResult<object> GetConfig()
|
||||
{
|
||||
var config = Plugin.Instance?.Configuration;
|
||||
return new
|
||||
{
|
||||
selectedSeason = config?.SelectedSeason ?? "none",
|
||||
automateSeasonSelection = config?.AutomateSeasonSelection ?? true
|
||||
};
|
||||
return Plugin.Instance?.Configuration ?? new object();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user