fix bug that scrollbar steals input focus(#344)
This commit is contained in:
@@ -224,7 +224,6 @@ namespace nana {
|
||||
{
|
||||
cv_scroll->vert.create(window_handle);
|
||||
cv_scroll->vert.events().value_changed.connect_unignorable(event_fn);
|
||||
API::take_active(cv_scroll->vert, false, window_handle);
|
||||
this->passive = false;
|
||||
}
|
||||
|
||||
@@ -255,7 +254,6 @@ namespace nana {
|
||||
{
|
||||
cv_scroll->horz.create(window_handle);
|
||||
cv_scroll->horz.events().value_changed.connect_unignorable(event_fn);
|
||||
API::take_active(cv_scroll->horz, false, window_handle);
|
||||
this->passive = false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user