[gnome-shell] iconGrid: Fix a typo
- From: Carlos Soriano <csoriano src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] iconGrid: Fix a typo
- Date: Tue, 2 Sep 2014 21:26:23 +0000 (UTC)
commit db76fb8ff93180f8118d2e5c00dce7a18c72ff8a
Author: Carlos Soriano <carlos soriano89 gmail com>
Date: Tue Sep 2 23:24:19 2014 +0200
iconGrid: Fix a typo
It was making icons of the spring animation going/returning to the wrong
position of the dash icon.
js/ui/iconGrid.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/iconGrid.js b/js/ui/iconGrid.js
index cd29173..0fc628e 100644
--- a/js/ui/iconGrid.js
+++ b/js/ui/iconGrid.js
@@ -519,7 +519,7 @@ const IconGrid = new Lang.Class({
actorClone.set_size(width, height);
let scaleX = sourceScaledWidth / width;
let scaleY = sourceScaledHeight / height;
- let [adjustedSourcePositionX, adjustedSourcePositionY] = [sourceCenterX - sourceScaledWidth / 2,
sourceY - sourceScaledHeight / 2];
+ let [adjustedSourcePositionX, adjustedSourcePositionY] = [sourceCenterX - sourceScaledWidth / 2,
sourceCenterY - sourceScaledHeight / 2];
// Defeat onComplete anonymous function closure
let isLastItem = index == actors.length - 1;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]