Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
htop
Commits
b7ac4166
Commit
b7ac4166
authored
May 25, 2016
by
Hisham
Browse files
Fixes #498.
parent
6cc0a8c8
Changes
1
Hide whitespace changes
Inline
Side-by-side
MetersPanel.c
View file @
b7ac4166
...
...
@@ -61,6 +61,7 @@ void MetersPanel_setMoving(MetersPanel* this, bool moving) {
Panel_setSelectionColor
(
super
,
CRT_colors
[
PANEL_SELECTION_FOLLOW
]);
super
->
currentBar
=
Meters_movingBar
;
}
FunctionBar_draw
(
this
->
super
.
currentBar
,
NULL
);
}
static
inline
bool
moveToNeighbor
(
MetersPanel
*
this
,
MetersPanel
*
neighbor
,
int
selected
)
{
...
...
@@ -99,7 +100,6 @@ static HandlerResult MetersPanel_eventHandler(Panel* super, int ch) {
if
(
!
Vector_size
(
this
->
meters
))
break
;
MetersPanel_setMoving
(
this
,
!
(
this
->
moving
));
FunctionBar_draw
(
this
->
super
.
currentBar
,
NULL
);
result
=
HANDLED
;
break
;
}
...
...
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