Merge branch 'develop_2' of https://github.com/dankan1890/nana into dankan1890-develop_2
This commit is contained in:
@@ -155,7 +155,7 @@ namespace nana
|
||||
--(state_.index);
|
||||
else if(recycle)
|
||||
{
|
||||
state_.index = static_cast<unsigned>(module_->items.size() - 1);
|
||||
state_.index = module_->items.size() - 1;
|
||||
state_.offset_y = last_offset_y;
|
||||
}
|
||||
|
||||
@@ -173,7 +173,7 @@ namespace nana
|
||||
}
|
||||
|
||||
if(state_.index >= state_.offset_y + module_->max_items)
|
||||
state_.offset_y = static_cast<unsigned>(state_.index - module_->max_items + 1);
|
||||
state_.offset_y = state_.index - module_->max_items + 1;
|
||||
}
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user