diff --git a/src/com/android/launcher2/Launcher.java b/src/com/android/launcher2/Launcher.java
index c14c22c..6b1290d 100644
--- a/src/com/android/launcher2/Launcher.java
+++ b/src/com/android/launcher2/Launcher.java
@@ -991,9 +991,13 @@
     View createShortcut(int layoutResId, ViewGroup parent, ShortcutInfo info) {
         TextView favorite = (TextView) mInflater.inflate(layoutResId, parent, false);
 
-        // Temporarily, we are scaling up all shortcuts on the workspace
-        int scaledSize = parent.getResources().getDimensionPixelSize(R.dimen.temp_scaled_icon_size);
-        Bitmap b = Bitmap.createScaledBitmap(info.getIcon(mIconCache), scaledSize, scaledSize, true);
+        Bitmap b = info.getIcon(mIconCache);
+
+        if (LauncherApplication.isScreenXLarge()) {
+            // Temporarily, we are scaling up all shortcuts on the workspace
+            int scaledSize = getResources().getDimensionPixelSize(R.dimen.temp_scaled_icon_size);
+            b = Bitmap.createScaledBitmap(b, scaledSize, scaledSize, true);
+        }
 
         favorite.setCompoundDrawablesWithIntrinsicBounds(null,
                 new FastBitmapDrawable(b),
