Fix shop scrollbar not appearing if there are 9 items (when only 8 fit)

This commit is contained in:
2019-11-24 20:14:55 -05:00
parent 1b1aba0bd5
commit 3e6d3b9d5e

View File

@@ -796,7 +796,7 @@ void draw_shop_graphics(bool pressed,rectangle clip_area_rect) {
talk_gworld.display();
refresh_shopping();
if(shop_sbar->getMaximum() > 1)
if(shop_sbar->getMaximum() > 0)
shop_sbar->show();
else shop_sbar->hide();
done_btn->show();