mirror of https://github.com/xzeldon/htop.git
Fixes #498.
This commit is contained in:
parent
6cc0a8c820
commit
b7ac416634
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue