fix focus locking bug
This commit is contained in:
parent
458e56fb4c
commit
23fe07d3d3
9 changed files with 34 additions and 21 deletions
|
|
@ -7,9 +7,10 @@ using namespace tp;
|
|||
void ScrollableBarWidget::process(const EventHandler& events) {
|
||||
// all content is visible no need to process anything
|
||||
if (mSizeFactor >= 1) {
|
||||
if (mScrolling) freeFocus();
|
||||
|
||||
mScrolling = false;
|
||||
mPosFactor = mSizeFactor / 2.f;
|
||||
freeFocus();
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue