mirror of
https://github.com/clangen/musikcube.git
synced 2024-12-29 00:17:49 +00:00
Removed some weird old, undocumented focus logic in OverlayBase that
seems to be causing issues after correcting nested focus issues.
This commit is contained in:
parent
6fde5a7d0d
commit
2b75dd6c9d
@ -74,15 +74,6 @@ namespace cursespp {
|
||||
return false;
|
||||
}
|
||||
|
||||
virtual IWindowPtr FocusFirst() override {
|
||||
auto focus = LayoutBase::FocusFirst();
|
||||
if (!focus) {
|
||||
focus = shared_from_this();
|
||||
this->Focus();
|
||||
}
|
||||
return focus;
|
||||
}
|
||||
|
||||
void Dismiss() {
|
||||
if (this->stack) {
|
||||
stack->Remove(this);
|
||||
|
Loading…
Reference in New Issue
Block a user