[gnome-shell] overview: Unset visibleTarget on gesture end
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] overview: Unset visibleTarget on gesture end
- Date: Mon, 1 Mar 2021 13:41:56 +0000 (UTC)
commit e2c140715383226b609ab866d234ddf607540743
Author: Florian Müllner <fmuellner gnome org>
Date: Fri Feb 26 22:55:57 2021 +0100
overview: Unset visibleTarget on gesture end
The property describes the target visibility (that is, the visibility
that will be set after the ongoing transition), and is therefore updated
at the start of the transition rather than from hideDone().
The overview gesture currently misses resetting it at the end, so it
is only updated to the correct state the next time the overview is
entered.
https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3798
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1726>
js/ui/overview.js | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/js/ui/overview.js b/js/ui/overview.js
index 3f881da57f..ac1a349da6 100644
--- a/js/ui/overview.js
+++ b/js/ui/overview.js
@@ -396,6 +396,7 @@ var Overview = class {
let onComplete;
if (endProgress === 0) {
this._shown = false;
+ this._visibleTarget = false;
this.emit('hiding');
Main.panel.style = 'transition-duration: %dms;'.format(duration);
onComplete = () => this._hideDone();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]