mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-02 23:55:12 +00:00
Qt render bug fixed by patch. Design improvements and fixes.
This commit is contained in:
@@ -298,7 +298,7 @@ void LayerStackWidget::startAnimation(float64 toOpacity) {
|
||||
}
|
||||
|
||||
bool LayerStackWidget::canSetFocus() const {
|
||||
return (layer() || _specialLayer) && !_hiding;
|
||||
return (layer() || _specialLayer || _mainMenu) && !_hiding;
|
||||
}
|
||||
|
||||
void LayerStackWidget::setInnerFocus() {
|
||||
@@ -308,6 +308,8 @@ void LayerStackWidget::setInnerFocus() {
|
||||
l->setInnerFocus();
|
||||
} else if (_specialLayer) {
|
||||
_specialLayer->setInnerFocus();
|
||||
} else if (_mainMenu) {
|
||||
_mainMenu->setInnerFocus();
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user