CleverRaven/Cataclysm-DDA — pull request #6539 by isharacomix (2014-03-10 04:11:48+00:00)
Title: Fix scrolling in construction menu

The construction menu rolls its own UI, so it doesn't follow the "center menu scrolling" option set by the player. This pull request fixes that by changing the way the offset variable is calculated, essentially copying the formula from ui.cpp.

Ideally, the construction menu would create a menu using ui.cpp, but for now, this will hopefully make the construction menu nicer to use.