improved settings with sounds bug fix

This commit is contained in:
choco
2025-10-11 00:46:18 +02:00
parent f5339dc1d2
commit e13fde3d43
7 changed files with 325 additions and 172 deletions

View File

@@ -16,8 +16,6 @@ public class LightlessNotification
public bool ShowProgress { get; set; } = false;
public float Progress { get; set; } = 0f;
public bool IsMinimized { get; set; } = false;
// Animation properties
public float AnimationProgress { get; set; } = 0f;
public bool IsAnimatingIn { get; set; } = true;
public bool IsAnimatingOut { get; set; } = false;

View File

@@ -1,4 +1,4 @@
using LightlessSync.LightlessConfiguration.Models;
using LightlessSync.LightlessConfiguration.Models;
namespace LightlessSync.UI.Models;
@@ -16,18 +16,18 @@ public static class NotificationSounds
public const uint Se2 = 2; // Higher chime
public const uint Se3 = 3; // Bell tone
public const uint Se4 = 4; // Harp tone
public const uint Se5 = 5; // Drum / percussion
public const uint Se6 = 6; // Mechanical click
public const uint Se5 = 5; // Mechanical click
public const uint Se6 = 6; // Drum / percussion
public const uint Se7 = 7; // Metallic chime
public const uint Se8 = 8; // Wooden tone
public const uint Se9 = 9; // Wind / flute tone
public const uint Se10 = 10; // Magical sparkle
public const uint Se11 = 11; // Metallic ring
public const uint Se12 = 12; // Deep thud
public const uint Se13 = 13; // "Tell received" ping
public const uint Se14 = 14; // Success fanfare short
public const uint Se15 = 15; // System warning
public const uint Se16 = 16; // Error / failure──────────────────────────────────────────
public const uint Se10 = 11; // Magical sparkle (ID 10 is skipped in game)
public const uint Se11 = 12; // Metallic ring
public const uint Se12 = 13; // Deep thud
public const uint Se13 = 14; // "Tell received" ping
public const uint Se14 = 15; // Success fanfare
public const uint Se15 = 16; // System warning
// Note: Se16 doesn't exist - Se15 is the last available sound
/// <summary>
/// General notification sound (<se.2>)
@@ -40,9 +40,9 @@ public static class NotificationSounds
public const uint Warning = Se15;
/// <summary>
/// Error sound (<se.16>)
/// Error sound (<se.15> - System warning, used for errors)
/// </summary>
public const uint Error = Se16;
public const uint Error = Se15;
/// <summary>
/// Success sound (<se.14>)