keyboard: Minor cleanup
Use the more concise operator shorthand. https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1177
This commit is contained in:
parent
153b7d525d
commit
2b70151794
@ -722,7 +722,7 @@ var EmojiPager = GObject.registerClass({
|
|||||||
|
|
||||||
_onPan(action) {
|
_onPan(action) {
|
||||||
let [dist_, dx, dy_] = action.get_motion_delta(0);
|
let [dist_, dx, dy_] = action.get_motion_delta(0);
|
||||||
this.delta = this.delta + dx;
|
this.delta += dx;
|
||||||
|
|
||||||
if (this._currentKey != null) {
|
if (this._currentKey != null) {
|
||||||
this._currentKey.cancel();
|
this._currentKey.cancel();
|
||||||
|
Loading…
Reference in New Issue
Block a user