2
0
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:
John Preston
2016-11-17 14:03:49 +03:00
parent 07689476a6
commit d0f7c6c210
11 changed files with 114 additions and 66 deletions

View File

@@ -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();
}
}