mirror of
https://github.com/clangen/musikcube.git
synced 2024-11-19 20:13:36 +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;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual IWindowPtr FocusFirst() override {
|
|
||||||
auto focus = LayoutBase::FocusFirst();
|
|
||||||
if (!focus) {
|
|
||||||
focus = shared_from_this();
|
|
||||||
this->Focus();
|
|
||||||
}
|
|
||||||
return focus;
|
|
||||||
}
|
|
||||||
|
|
||||||
void Dismiss() {
|
void Dismiss() {
|
||||||
if (this->stack) {
|
if (this->stack) {
|
||||||
stack->Remove(this);
|
stack->Remove(this);
|
||||||
|
Loading…
Reference in New Issue
Block a user