mirror of
https://github.com/lbonn/rofi
synced 2024-11-15 08:37:17 +00:00
Fix highlighting of arrow box
This commit is contained in:
parent
56a911129d
commit
c2f06d3f92
1 changed files with 2 additions and 2 deletions
|
@ -798,13 +798,13 @@ void menu_set_arrow_text ( int filtered_lines, int selected, int max_elements,
|
|||
if ( page != 0 && npages > 1 )
|
||||
{
|
||||
textbox_show ( arrowbox_top );
|
||||
textbox_font ( arrowbox_top, ( entry == 0 ) ? NORMAL : HIGHLIGHT );
|
||||
textbox_font ( arrowbox_top, ( entry != 0 ) ? NORMAL : HIGHLIGHT );
|
||||
textbox_draw ( arrowbox_top );
|
||||
}
|
||||
if ( ( npages - 1 ) != page && npages > 1 )
|
||||
{
|
||||
textbox_show ( arrowbox_bottom );
|
||||
textbox_font ( arrowbox_bottom, ( entry == 0 ) ? NORMAL : HIGHLIGHT );
|
||||
textbox_font ( arrowbox_bottom, ( entry != ( max_elements - 1 ) ) ? NORMAL : HIGHLIGHT );
|
||||
textbox_draw ( arrowbox_bottom );
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue