Merge branch 'hotfix-1.7.2' into develop
This commit is contained in:
@@ -2401,7 +2401,9 @@ namespace nana
|
||||
nana::rectangle r;
|
||||
if (rect_lister(r))
|
||||
{
|
||||
auto top = new_where.second * item_h + header_visible_px();
|
||||
//potential displacement due to partially visible first visible item
|
||||
auto disp = origin.y - first_display().item * item_h;
|
||||
auto top = new_where.second * item_h + header_visible_px() - disp;
|
||||
if (checkarea(item_xpos(r), static_cast<int>(top)).is_hit(pos))
|
||||
new_where.first = parts::checker;
|
||||
}
|
||||
@@ -6000,6 +6002,7 @@ namespace nana
|
||||
{
|
||||
internal_scope_guard lock;
|
||||
_m_ess().lister.sort_column(col, &reverse);
|
||||
_m_ess().update();
|
||||
}
|
||||
|
||||
auto listbox::sort_col() const -> size_type
|
||||
|
||||
Reference in New Issue
Block a user