Commit 57ca3b11 authored by Mall, Anon's avatar Mall, Anon
Browse files

offset now set

parent f8e63572
......@@ -53,7 +53,7 @@ void
Controller::setOffset(int offset)
{
m_config.set("offset", offset);
m_offset = offset;
m_minHeight = stoi(m_config.get("min_height", std::to_string(MIN_HEIGHT))) + m_offset;
m_maxHeight = stoi(m_config.get("max_height", std::to_string(MAX_HEIGHT))) + m_offset;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment