2.0.0 #92
@@ -259,6 +259,11 @@ public sealed class ZoneChatUi : WindowMediatorSubscriberBase
|
|||||||
|
|
||||||
if (ImGui.BeginPopupContextItem($"chat_msg_ctx##{channel.Key}_{i}"))
|
if (ImGui.BeginPopupContextItem($"chat_msg_ctx##{channel.Key}_{i}"))
|
||||||
{
|
{
|
||||||
|
var contextLocalTimestamp = message.Payload.SentAtUtc.ToLocalTime();
|
||||||
|
var contextTimestampText = contextLocalTimestamp.ToString("yyyy-MM-dd HH:mm:ss 'UTC'z", CultureInfo.InvariantCulture);
|
||||||
|
ImGui.TextDisabled(contextTimestampText);
|
||||||
|
ImGui.Separator();
|
||||||
|
|
||||||
foreach (var action in GetContextMenuActions(channel, message))
|
foreach (var action in GetContextMenuActions(channel, message))
|
||||||
{
|
{
|
||||||
if (ImGui.MenuItem(action.Label, string.Empty, false, action.IsEnabled))
|
if (ImGui.MenuItem(action.Label, string.Empty, false, action.IsEnabled))
|
||||||
@@ -456,7 +461,7 @@ public sealed class ZoneChatUi : WindowMediatorSubscriberBase
|
|||||||
|
|
||||||
_uiSharedService.DrawNoteLine("! ", UIColors.Get("LightlessBlue"),
|
_uiSharedService.DrawNoteLine("! ", UIColors.Get("LightlessBlue"),
|
||||||
new SeStringUtils.RichTextEntry("Punishments scale from a permanent chat ban up to a full Lightless account ban."),
|
new SeStringUtils.RichTextEntry("Punishments scale from a permanent chat ban up to a full Lightless account ban."),
|
||||||
new SeStringUtils.RichTextEntry(" (Appeals are NOT possible.) ", UIColors.Get("DimRed"), true));
|
new SeStringUtils.RichTextEntry(" (Appeals are possible, but will be accepted only in clear cases of error.) ", UIColors.Get("DimRed"), true));
|
||||||
|
|
||||||
ImGui.PopTextWrapPos();
|
ImGui.PopTextWrapPos();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user