Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 30 additions & 2 deletions scripts/database/settings/SettingsProfile.cs
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,18 @@ public partial class SettingsProfile
[Order]
public SettingsItem<double> TrailDetail { get; private set; }

/// <summary>
/// Updates trail particles only when the cursor moves
/// </summary>
[Order]
public SettingsItem<bool> SmartCursorTrail { get; private set; }

/// <summary>
/// Shrinks trail particles based on how long its been present
/// </summary>
[Order]
public SettingsItem<bool> TrailModeScale { get; private set; }

/// <summary>
/// Uses the skin's cursor instead of the native cursor
/// </summary>
Expand Down Expand Up @@ -684,16 +696,32 @@ public SettingsProfile()
{
Id = "TrailDetail",
Title = "Trail Detail",
Description = "(Not implemented) Adjusts the detail for the trail",
Description = "Adjusts the detail for the trail",
Section = SettingsSection.Visual,
Slider = new()
{
Step = 0.05f,
MinValue = 0,
MaxValue = 5
MaxValue = 100
}
};

SmartCursorTrail = new(false)
{
Id = "SmartCursorTrail",
Title = "Smart Cursor Trail",
Description = "Updates trail particles only when the cursor moves",
Section = SettingsSection.Visual
};

TrailModeScale = new(false)
{
Id = "TrailModeScale",
Title = "Cursor Trail Scale",
Description = "Scales trail particles over lifetime using cursor scale",
Section = SettingsSection.Visual
};

UseCursorInMenus = new(false)
{
Id = "UseCursorInMenus",
Expand Down
Loading