mirror of
https://github.com/QL-Win/QuickLook.git
synced 2025-12-19 02:02:14 +08:00
Refactor icon usage to use FontSymbols constants
Replaced hardcoded icon strings with FontSymbols constants in MoreMenu and converter classes for consistency and maintainability. Removed duplicate FontSymbols class from MidiPlayer and updated usages to reference QuickLook.Common.Controls.
This commit is contained in:
@@ -19,6 +19,7 @@ using Melanchall.DryWetMidi.Core;
|
||||
using Melanchall.DryWetMidi.Interaction;
|
||||
using Melanchall.DryWetMidi.Multimedia;
|
||||
using QuickLook.Common.Annotations;
|
||||
using QuickLook.Common.Controls;
|
||||
using QuickLook.Common.Plugin;
|
||||
using System;
|
||||
using System.ComponentModel;
|
||||
@@ -208,14 +209,4 @@ internal class MidiPlayer : IDisposable, INotifyPropertyChanged
|
||||
{
|
||||
PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Segoe Fluent Icons
|
||||
/// https://learn.microsoft.com/en-us/windows/apps/design/style/segoe-fluent-icons-font
|
||||
/// </summary>
|
||||
private sealed class FontSymbols
|
||||
{
|
||||
public const string Play = "\xe768";
|
||||
public const string Pause = "\xe769";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user