Ultra_arting-ItemDockFix icon

ItemDockFix

Multi-row paged passive dock with Up/Down paging, page counter, arrow-key select and F to drop; fixes vanilla icon overlap. 被动栏改为多行网格 + ↑↓ 翻页 + 页码 + 方向键选择 + F 丢弃,修复原版图标重叠导致无法选中/丢弃。

CHANGELOG

Changelog

1.1.2

Store listing is now bilingual - no in-game change.

  • Description carries both the English and the Chinese summary (Thunderstore shows it in search results and the package header).
  • README now opens with a Chinese tagline under the title, so the page reads well for both audiences.
  • The package name itself is fixed by Thunderstore and cannot be renamed after the first upload; a bilingual page title is not possible beyond the description and README.

1.1.1

Packaging refresh only - the in-game code is identical to 1.1.0.

  • New icon and social preview. The three faces in the icon are now replaced with the Bomb, Ice Cube and Rolling Eye item sprites.
  • README and License metadata. The store page now carries the same README (with config table, controls and license note) as the repository, and the project is MIT licensed.
  • Republished so the listing matches the current repository assets.

1.1.0

Robustness pass — the dock still looks the same in the normal case, but it now degrades safely instead of misbehaving.

  • Rows adapt to the dock panel. The effective rows per page is the smaller of RowsPerPage and how many rows actually fit in the panel, so raising RowsPerPage (or a differently proportioned UI) can no longer push the grid out of the dock.
  • Config values are clamped to sane ranges (ItemsPerRow 0-32, RowsPerPage 1-8, IconScale 0.4-1.2), both through BepInEx's acceptable-value ranges and internally, so a hand-edited cfg cannot produce a broken layout.
  • F only drops what you can see and drop. Dropping now requires a selection that is on the current page, has a live item and owner, and passes CanActuallyBeDropped. Off-page or undroppable items are skipped with a log line instead of being silently dropped.
  • Stale selections are cleared. When the page size or item count changes (window resize, mods adding passives, dropping items), a selection that is no longer visible is cleared, so F can never act on an icon that has been parked off-screen.
  • Per-icon failures are contained. A destroyed or invalid tk2d sprite is skipped and logged instead of aborting the whole layout pass, and already-placed icons are not re-moved every frame.
  • Page indicator hardened. It hides when the dfGUI font or panel is unavailable, and its position is clamped to the screen so it cannot be left floating outside the UI after a resolution change.
  • Missing dock geometry fallback. If DockSprite width cannot be read, the grid falls back to fixed spacing and stays centred instead of being stretched over the wider DockPanel.

1.0.0

Initial release.

  • Passive item dock is now a multi-row grid that fits the dock strip width instead of a single 270-unit row, so icons no longer overlap and every item can be selected and dropped.
  • Paging with Up / Down (default 14 per row x 3 rows = 42 per page) plus a 1/2 page indicator in the top-right corner of the dock.
  • Keyboard support for the dock: Left / Right to select, Up / Down to page, F to drop. Vanilla skips its keyboard branch in the minimap controller, so keyboard players previously could not drop passives at all.
  • Mouse clicks now select the nearest icon rather than the first icon of the list that falls inside the fixed click radius.
  • Icons render at 80% of vanilla size (Layout/IconScale), so a dense grid stays readable.
  • Configurable via BepInEx/config/hawkhao.etg.itemdockfix.cfg.
  • Dev hotkeys (F6-F11) for granting random passives, dumping dock geometry and forcing a re-layout, behind Debug/EnableDebugHotkeys (off by default).