Skip to content

Commit

Permalink
booru/page: Load next page when scrolling a little sooner
Browse files Browse the repository at this point in the history
  • Loading branch information
ahodesuka committed Dec 8, 2017
1 parent 31318c9 commit cafeb2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/booru/page.cc
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ void Page::on_value_changed()
double value = get_vadjustment()->get_value(),
limit = get_vadjustment()->get_upper() -
get_vadjustment()->get_page_size() -
get_vadjustment()->get_step_increment();
get_vadjustment()->get_step_increment() * 3;

if (value >= limit)
get_next_page();
Expand Down

0 comments on commit cafeb2d

Please sign in to comment.