mirror of
https://github.com/clangen/musikcube.git
synced 2024-12-30 12:16:00 +00:00
Another potential fix for weird scrollbar behavior on FreeBSD. Really
wish I could repro this problem locally.
This commit is contained in:
parent
394eca93c8
commit
afcd50d252
@ -96,10 +96,12 @@ void ListWindow::DecorateFrame() {
|
||||
wmove(frame, i, this->GetWidth() - 1);
|
||||
#ifdef WIN32
|
||||
waddch(frame, (i == offset) ? WIN32_SCROLLER : ACS_VLINE);
|
||||
#else
|
||||
#elif defined __APPLE__
|
||||
if (i == offset) wattron(frame, A_REVERSE);
|
||||
waddch(frame, (i == offset) ? ' ' : ACS_VLINE);
|
||||
if (i == offset) wattroff(frame, A_REVERSE);
|
||||
#else
|
||||
waddch(frame, (i == offset) ? ACS_D_VLINE : ACS_VLINE);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user