Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Geithner, Thomas
desk-control
Commits
57ca3b11
Commit
57ca3b11
authored
Oct 11, 2017
by
Mall, Anon
Browse files
offset now set
parent
f8e63572
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/desk-controller.cpp
View file @
57ca3b11
...
...
@@ -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
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment