You are viewing a potentially older version of this package. View all versions.
babelthuap-DisableBuildMenuDrag-1.0.2 icon

DisableBuildMenuDrag

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

Date uploaded a month ago
Version 1.0.2
Download link babelthuap-DisableBuildMenuDrag-1.0.2.zip
Downloads 90
Dependency string babelthuap-DisableBuildMenuDrag-1.0.2

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