style: remove em-dashes from new code comments
This commit is contained in:
@@ -14,7 +14,7 @@ namespace HellionChat.Integrations;
|
|||||||
// failed" signal is not reachable over the processed message stream (Message
|
// failed" signal is not reachable over the processed message stream (Message
|
||||||
// carries no LogMessage row id, ChatCode 60 is too broad). This hooks the one
|
// carries no LogMessage row id, ChatCode 60 is too broad). This hooks the one
|
||||||
// ShowLogMessageString overload and toasts on a pinned id set. It is NOT the
|
// ShowLogMessageString overload and toasts on a pinned id set. It is NOT the
|
||||||
// broad ad-block hook layer — that stays v1.5.6.
|
// broad ad-block hook layer. That stays v1.5.6.
|
||||||
internal sealed class FailedTellNotifier : IDisposable
|
internal sealed class FailedTellNotifier : IDisposable
|
||||||
{
|
{
|
||||||
private readonly ILogger<FailedTellNotifier> _logger;
|
private readonly ILogger<FailedTellNotifier> _logger;
|
||||||
|
|||||||
@@ -344,7 +344,7 @@ internal class MessageManager : IAsyncDisposable
|
|||||||
tab.AddMessage(message, unread);
|
tab.AddMessage(message, unread);
|
||||||
|
|
||||||
// UI-3: per-tab notification sound. Fire once for the first
|
// UI-3: per-tab notification sound. Fire once for the first
|
||||||
// inactive tab that wants it — keeps a message matching several
|
// inactive tab that wants it, keeping a message matching several
|
||||||
// background tabs from stacking sounds.
|
// background tabs from stacking sounds.
|
||||||
// TEST-MIRROR: ../_Helpers/TabSoundDecision.cs
|
// TEST-MIRROR: ../_Helpers/TabSoundDecision.cs
|
||||||
if (notificationSound is null
|
if (notificationSound is null
|
||||||
|
|||||||
@@ -201,7 +201,7 @@ public sealed class Plugin : IAsyncDalamudPlugin
|
|||||||
// Schema gate: v1.4.x+ requires config v16+. Users on older schemas
|
// Schema gate: v1.4.x+ requires config v16+. Users on older schemas
|
||||||
// must install v1.4.2 first to run the migration chain. v18 adds the
|
// must install v1.4.2 first to run the migration chain. v18 adds the
|
||||||
// per-tab EnableNotificationSound + NotificationSoundId fields (UI-3)
|
// per-tab EnableNotificationSound + NotificationSoundId fields (UI-3)
|
||||||
// and the top-level NotifyFailedTell flag (UI-2) — all additive with
|
// and the top-level NotifyFailedTell flag (UI-2), all additive with
|
||||||
// defaults, so v16/v17 configs load cleanly and get their Version
|
// defaults, so v16/v17 configs load cleanly and get their Version
|
||||||
// stamp bumped after the gate.
|
// stamp bumped after the gate.
|
||||||
if (Config.Version < 16)
|
if (Config.Version < 16)
|
||||||
|
|||||||
@@ -2486,7 +2486,7 @@ public sealed class ChatLogWindow : Window
|
|||||||
|
|
||||||
// UI-4: focus the rename field on the frame the context menu opens so
|
// UI-4: focus the rename field on the frame the context menu opens so
|
||||||
// the user can type immediately. Buffer raised 128 -> 512 to match the
|
// the user can type immediately. Buffer raised 128 -> 512 to match the
|
||||||
// settings-tab rename (Ui/SettingsTabs/Tabs.cs) — one name limit, not two.
|
// settings-tab rename (Ui/SettingsTabs/Tabs.cs). One name limit, not two.
|
||||||
if (ImGui.IsWindowAppearing())
|
if (ImGui.IsWindowAppearing())
|
||||||
ImGui.SetKeyboardFocusHere();
|
ImGui.SetKeyboardFocusHere();
|
||||||
ImGui.SetNextItemWidth(250f * ImGuiHelpers.GlobalScale);
|
ImGui.SetNextItemWidth(250f * ImGuiHelpers.GlobalScale);
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ public static class FailedTellMatcher
|
|||||||
{
|
{
|
||||||
// Log-message ids the game raises for a tell that could not be delivered.
|
// Log-message ids the game raises for a tell that could not be delivered.
|
||||||
// Pinned from discovery (see plan Task 2, Step 9). An empty set means the
|
// Pinned from discovery (see plan Task 2, Step 9). An empty set means the
|
||||||
// hook never toasts — "no toast over a false toast" until ids are pinned.
|
// hook never toasts: "no toast over a false toast" until ids are pinned.
|
||||||
public static readonly IReadOnlySet<uint> FailedTellLogMessageIds = new HashSet<uint>
|
public static readonly IReadOnlySet<uint> FailedTellLogMessageIds = new HashSet<uint>
|
||||||
{
|
{
|
||||||
// pinned in Task 2 Step 9
|
// pinned in Task 2 Step 9
|
||||||
|
|||||||
Reference in New Issue
Block a user