diff options
Diffstat (limited to 'MetersPanel.c')
-rw-r--r-- | MetersPanel.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/MetersPanel.c b/MetersPanel.c index 7e20be0f..30991a0e 100644 --- a/MetersPanel.c +++ b/MetersPanel.c @@ -20,8 +20,8 @@ in the source distribution for its full text. // Note: In code the meters are known to have bar/text/graph "Modes", but in UI // we call them "Styles". -static const char* const MetersFunctions[] = {"Style ", "Move ", " ", "Delete", "Done ", NULL}; -static const char* const MetersKeys[] = {"Space", "Enter", " ", "Del", "F10"}; +static const char* const MetersFunctions[] = {"Style ", "Move ", " ", "Delete", "Done ", NULL}; +static const char* const MetersKeys[] = {"Space", "Enter", "", "Del", "F10"}; static const int MetersEvents[] = {' ', 13, ERR, KEY_DC, KEY_F(10)}; // We avoid UTF-8 arrows ← → here as they might display full-width on Chinese @@ -55,13 +55,12 @@ void MetersPanel_setMoving(MetersPanel* this, bool moving) { selected->moving = moving; } if (!moving) { - Panel_setSelectionColor(super, CRT_colors[PANEL_SELECTION_FOCUS]); + Panel_setSelectionColor(super, PANEL_SELECTION_FOCUS); Panel_setDefaultBar(super); } else { - Panel_setSelectionColor(super, CRT_colors[PANEL_SELECTION_FOLLOW]); + Panel_setSelectionColor(super, PANEL_SELECTION_FOLLOW); super->currentBar = Meters_movingBar; } - FunctionBar_draw(this->super.currentBar); } static inline bool moveToNeighbor(MetersPanel* this, MetersPanel* neighbor, int selected) { |