mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-07 09:56:59 +00:00
Revert "Make Manager::freeMouse() to select a new visible widget"
This reverts commit 3accd85662
.
This commit is contained in:
parent
17e1c22a65
commit
48a1af7342
@ -724,7 +724,7 @@ void Manager::freeFocus()
|
||||
|
||||
void Manager::freeMouse()
|
||||
{
|
||||
setMouse(pick(ui::get_mouse_position()));
|
||||
setMouse(NULL);
|
||||
}
|
||||
|
||||
void Manager::freeCapture()
|
||||
|
@ -195,8 +195,8 @@ void Widget::setVisible(bool state)
|
||||
}
|
||||
else {
|
||||
if (!hasFlags(HIDDEN)) {
|
||||
enableFlags(HIDDEN);
|
||||
getManager()->freeWidget(this); // Free from manager
|
||||
enableFlags(HIDDEN);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user