Zero-K icon indicating copy to clipboard operation
Zero-K copied to clipboard

COFC Alt + mousewheel conflicts with terraform

Open Histidine91 opened this issue 8 years ago • 1 comments

When selecting a structure placement location with COFC enabled, Alt + mousewheel moves the camera up and down instead of raising/lowering the pre-construction terraform level.

Histidine91 avatar Apr 29 '18 15:04 Histidine91

With COFC, Alt + mousewheel during structure placement moved the camera instead of changing the terraform height. https://github.com/ZeroK-RTS/Zero-K/commit/b73d75378c72087d050a21226545bd3cdc8abe43 moved Persistent Build Height from the last widget layer to layer 998. Mouse wheel events go to lower layers first, so it now takes Alt + wheel during placement before COFC (layer 1002) can move the camera. No test was run; this is from the code and history. This looks resolved; it can be closed if the reporter agrees.

Found with help from Claude Code.

moss-orbit-9f339e avatar Oct 25 '26 04:10 moss-orbit-9f339e