fix: card-overview subtext wrap + v16 default bumps + chat-colour preset
UI: - SettingsOverview cards now wrap subtext to two lines (DrawList wrap- width) and the card height grew from 96 to 110 px. Single-line fitting clipped most of the bilingual subtitles. - HellionStyle pushes ChildBg with alpha 0 when WindowOpacity < 1.0 to keep stacked BeginChild layers from compounding the deckgrade past what the slider suggests. - WindowOpacity slider helpmarker now points to Dalamud's per-window hamburger menu for opacity / blur / pin / click-through overrides. UX defaults (v15 → v16 migration adopts new values only when the user is still on the previous default — bool flips are heuristic, the prior defaults are from the v1.2.0 cycle and rarely toggled): - UseCompactDensity false → true (single-line message style is cleaner) - HideInNewGamePlusMenu false → true (consistent with other hide-flags) - HideSameTimestamps false → true (cleaner log) - MaxLinesToRender 5000 → 2500 (mid-range hardware friendlier) - ChatColours empty → Hellion brand preset (the first-run wizard does not offer a preset choice, so fresh installs get the brand colours out of the box)
This commit is contained in:
@@ -106,6 +106,9 @@ public sealed class ChatLogWindow : Window
|
||||
IsOpen = true;
|
||||
RespectCloseHotkey = false;
|
||||
DisableWindowSounds = true;
|
||||
// AllowBackgroundBlur wird nach AddWindow zentral in Plugin.Setup
|
||||
// für alle registrierten Windows gesetzt — keine Per-Window-Logik
|
||||
// hier nötig.
|
||||
|
||||
PayloadHandler = new PayloadHandler(this);
|
||||
HandlerLender = new Lender<PayloadHandler>(() => new PayloadHandler(this));
|
||||
@@ -496,6 +499,12 @@ public sealed class ChatLogWindow : Window
|
||||
if (!Plugin.Config.ShowTitleBar)
|
||||
Flags |= ImGuiWindowFlags.NoTitleBar;
|
||||
|
||||
// BgAlpha wird auf den Style-WindowBg-Alpha aus HellionStyle.PushGlobal
|
||||
// multipliziert (HellionStyle pusht eine voll-deckende Theme-Color, der
|
||||
// tatsächliche transparent-Effekt entsteht über BgAlpha). Wenn der User
|
||||
// im Dalamud-Pinning-Menü (Hamburger oben rechts) eine eigene
|
||||
// Window-Deckkraft eingestellt hat, hat dieses Per-Window-Override
|
||||
// Vorrang über unseren Slider — wir dokumentieren das im HelpMarker.
|
||||
if (LastViewport == ImGuiHelpers.MainViewport.Handle && !WasDocked)
|
||||
BgAlpha = Plugin.Config.WindowOpacity;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user