From 2b7015179418be402853633f79a06f12181421ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Sat, 4 Apr 2020 02:00:35 +0200 Subject: [PATCH] keyboard: Minor cleanup Use the more concise operator shorthand. https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1177 --- js/ui/keyboard.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/ui/keyboard.js b/js/ui/keyboard.js index 7ce866802..4af2b18c4 100644 --- a/js/ui/keyboard.js +++ b/js/ui/keyboard.js @@ -722,7 +722,7 @@ var EmojiPager = GObject.registerClass({ _onPan(action) { let [dist_, dx, dy_] = action.get_motion_delta(0); - this.delta = this.delta + dx; + this.delta += dx; if (this._currentKey != null) { this._currentKey.cancel();