diff --git a/src/AcDream.Plugins.MossTank/MossTankPanel.cs b/src/AcDream.Plugins.MossTank/MossTankPanel.cs index 696e9a54..84c359c1 100644 --- a/src/AcDream.Plugins.MossTank/MossTankPanel.cs +++ b/src/AcDream.Plugins.MossTank/MossTankPanel.cs @@ -1040,6 +1040,18 @@ internal sealed partial class MossTankPanel // PluginCore.cs:3576-3599 — any cell click deletes the waypoint). public IReadOnlyList RouteWaypointTextColumn => _routeRows; public IReadOnlyList RouteWaypointCountColumn => _routeWaypointCounts; + // Round F item 6 (resemblance re-check: "Route's count column + // squeezes to 17 when the list scrolls"): RouteWaypointCountColumn + // was the grid's LAST column, so docs/plugin-ui-markup.md's own + // "Width semantics" rule made its declared width="30" NEVER validated + // or used — it silently absorbed whatever remainder was left instead + // (33px normally, but only 17px once the scrollbar's own 16px + // reservation ate into that remainder). A trailing filler column + // (empty items) now sits after it so the count column is no longer + // last and keeps its own real, always-honored 30px width — the same + // fix as the Monsters grid's MonsterFillerColumn. + public IReadOnlyList RouteWaypointFillerColumn => Array.Empty(); + public Action RouteWaypointFillerClick => static _ => { }; public Action DeleteRouteWaypointAt => DeleteRouteWaypointAtCore; public Action SelectNearestRouteWaypoint => SelectNearestRouteWaypointCore; // VTank's own cmbNavType captions read Circular/Linear/Follow/Once diff --git a/src/AcDream.Plugins.MossTank/mosstank-loot-editor.xml b/src/AcDream.Plugins.MossTank/mosstank-loot-editor.xml index be38d697..97c213f7 100644 --- a/src/AcDream.Plugins.MossTank/mosstank-loot-editor.xml +++ b/src/AcDream.Plugins.MossTank/mosstank-loot-editor.xml @@ -13,11 +13,20 @@ panel, registered as a THIRD AddPanel call from MossTankPlugin.cs with ShowInSidePanel=false (VTank's popup has no independent shelf entry). This panel's own visible="{LootEditorVisible}" binding is the SAME flag the - checkbox flips and this popup's own "Back" button clears + checkbox flips and CloseLootEditor clears (CloseLootEditor => _lootEditorVisible = false) — closing the popup unchecks the box for free (see mosstank-advanced.xml's comment for why no new host show/hide API was needed). + Round F item 6 (resemblance re-check: "Loot Editor: drop the leftover + 'Back' button — the window closes from its title bar like the + others"): the standalone "Back" button bound directly to + CloseLootEditor is gone — the window's own OS-level title bar already + closes it, the same shape every other plugin popup (Advanced Options + included) has used with no Back button of its own since round D. + CloseLootEditor stays real: ToggleLootEditorVisible (the Profiles-tab + "Show Editor" checkbox's own close path) still calls it directly. + Fix round A also replaced the "↑"/"↓" text buttons (MoveLootRuleUp/Down) with the same DAT move-up/move-down icon glyphs the Monsters grid already uses (0x060028FC / 0x060028FD) — the retail default UI font (0x40000000) @@ -40,8 +49,6 @@ --> -