babelthuap-DisableBuildMenuDrag icon

DisableBuildMenuDrag

Fixes an issue where selecting pieces in the hammer build menu accidentally triggers menu dragging.

Last updated 3 weeks ago
Total downloads 150
Total rating 2 
Categories Mods Client-side Building Deep North Update
Dependency string babelthuap-DisableBuildMenuDrag-1.0.2
Dependants 0 other packages depend on this package

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2202 icon
denikson-BepInExPack_Valheim

BepInEx pack for Valheim. Preconfigured and includes unstripped Unity DLLs.

Preferred version: 5.4.2202

README

Fixes an issue where selecting pieces in the hammer build menu accidentally triggers menu dragging.

  • Problem: In Valheim 1.0 the build menu is larger and therefore scrollable. By default, you can click and drag to scroll the menu. But I find myself very often accidentally triggering this click & drag when I simply intended to select a build piece.
  • My fix: Trigger selection on pointerdown instead of Unity's default pointerup. I actually kinda prefer all menus this way. Makes the game feel more responsive.

This is the very first mod I've ever published. If you find any bugs, I'd be very happy if you send them my way! I posted the source code at https://github.com/babelthuap/ValheimDisableBuildMenuDrag