2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-04 16:45:12 +00:00

fixed keyboard hide

This commit is contained in:
John Preston
2015-09-22 12:55:26 +03:00
parent 73cade9fd9
commit f0123fffa8
2 changed files with 2 additions and 1 deletions

View File

@@ -3188,6 +3188,7 @@ void HistoryWidget::updateControlsVisibility() {
_cmdStart.hide();
_attachType.hide();
_emojiPan.hide();
_kbScroll.hide();
if (!_field.isHidden()) {
_field.hide();
resizeEvent(0);

View File

@@ -1567,7 +1567,7 @@ void Window::notifyUpdateAllPhotos() {
(*i)->updatePeerPhoto();
}
}
if (_mediaView) _mediaView->updateControls();
if (_mediaView && !_mediaView->isHidden()) _mediaView->updateControls();
}
void Window::notifyUpdateAll() {