mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2026-04-28 00:36:00 +00:00
Fix bugs in previous PR
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
|
||||
using System.Drawing;
|
||||
using System.Drawing;
|
||||
|
||||
namespace DiscordChatExporter.Core.Models
|
||||
{
|
||||
@@ -13,7 +12,8 @@ namespace DiscordChatExporter.Core.Models
|
||||
|
||||
public Color Color { get; }
|
||||
|
||||
public string ColorAsHex => $"#{(Color.ToArgb() & 0xffffff):X6}";
|
||||
public string ColorAsHex => $"#{Color.ToArgb() & 0xffffff:X6}";
|
||||
|
||||
public string ColorAsRgb => $"{Color.R}, {Color.G}, {Color.B}";
|
||||
|
||||
public int Position { get; }
|
||||
|
||||
Reference in New Issue
Block a user