mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
caption display in video, caption display in mediaview, removed Loading / Failed webpage display, rounded corners everywhere
This commit is contained in:
@@ -810,9 +810,7 @@ void Window::hideLayer(bool fast) {
|
||||
layerBG = 0;
|
||||
}
|
||||
}
|
||||
if (_mediaView && !_mediaView->isHidden()) {
|
||||
_mediaView->hide();
|
||||
}
|
||||
hideMediaview();
|
||||
}
|
||||
|
||||
bool Window::hideInnerLayer() {
|
||||
@@ -843,10 +841,14 @@ void Window::layerHidden() {
|
||||
layerBG->deleteLater();
|
||||
}
|
||||
layerBG = 0;
|
||||
if (_mediaView && !_mediaView->isHidden()) _mediaView->hide();
|
||||
hideMediaview();
|
||||
setInnerFocus();
|
||||
}
|
||||
|
||||
void Window::hideMediaview() {
|
||||
if (_mediaView && !_mediaView->isHidden()) _mediaView->hide();
|
||||
}
|
||||
|
||||
void Window::setInnerFocus() {
|
||||
if (_passcode) {
|
||||
_passcode->setInnerFocus();
|
||||
@@ -1691,7 +1693,7 @@ QImage Window::iconWithCounter(int size, int count, style::color bg, bool smallI
|
||||
|
||||
void Window::sendPaths() {
|
||||
if (App::passcoded()) return;
|
||||
if (_mediaView && !_mediaView->isHidden()) _mediaView->hide();
|
||||
hideMediaview();
|
||||
if (settings) {
|
||||
hideSettings();
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user