mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 14:17:12 +02:00
Close stories on Key_Right press on last one.
This commit is contained in:
parent
0f2e8d9a79
commit
6098e5ac33
1 changed files with 3 additions and 1 deletions
|
@ -5045,7 +5045,9 @@ void OverlayWidget::handleKeyPress(not_null<QKeyEvent*> e) {
|
|||
if (_controlsHideTimer.isActive()) {
|
||||
activateControls();
|
||||
}
|
||||
moveToNext(1);
|
||||
if (!moveToNext(1) && _stories) {
|
||||
storiesClose();
|
||||
}
|
||||
} else if (ctrl) {
|
||||
if (key == Qt::Key_Plus
|
||||
|| key == Qt::Key_Equal
|
||||
|
|
Loading…
Add table
Reference in a new issue