DSPCraftingSpeed-TechTreeNoRecenter icon

TechTreeNoRecenter

Clicking a technology no longer slides it to the middle of the screen; the view stays put and only scrolls enough to show the opened card.

Last updated a day ago
Total downloads 10
Total rating 0 
Categories Quality of Life
Dependency string DSPCraftingSpeed-TechTreeNoRecenter-1.0.0
Dependants 0 other packages depend on this package

This mod requires the following mods to function

xiaoye97-BepInEx-5.4.17 icon
xiaoye97-BepInEx

BepInEx5.4.17 mod plugin framework, Mod框架

Preferred version: 5.4.17

README

Tech Tree No Recenter

In the game, clicking a technology slides it to the middle of the screen, so you keep dragging the tree back to where you were. With this mod the view stays where it is:

  • Clicking a card opens it in place. When you click from the zoomed-out view, the zoom-in still happens around the mouse, as in the game, but nothing slides to the middle.
  • If the opened card would stick out past an edge of the screen, the view scrolls just far enough to show the whole card.
  • Jumps you ask for still centre the card: clicking a tech in the research queue, a prerequisite in a card, or a "locate" button.

Settings in BepInEx/config/com.github.jiesiluo.techtreenorecenter.cfg:

Setting Default
KeepCardOnScreen true Scroll a little so the opened card is fully visible. false: never move the view.
MarginTop / MarginBottom / MarginSides 100 / 30 / 20 Space kept free at the screen edges (UI units).

Works with game version 0.10.35.