mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-30 22:25:12 +00:00
No shared media empty placeholders while loading.
This commit is contained in:
@@ -866,10 +866,12 @@ void WrapWidget::resizeEvent(QResizeEvent *e) {
|
||||
|
||||
void WrapWidget::keyPressEvent(QKeyEvent *e) {
|
||||
if (e->key() == Qt::Key_Escape) {
|
||||
showBackFromStack();
|
||||
} else {
|
||||
SectionWidget::keyPressEvent(e);
|
||||
if (hasStackHistory() || wrap() != Wrap::Layer) {
|
||||
showBackFromStack();
|
||||
return;
|
||||
}
|
||||
}
|
||||
SectionWidget::keyPressEvent(e);
|
||||
}
|
||||
|
||||
void WrapWidget::updateContentGeometry() {
|
||||
|
Reference in New Issue
Block a user