[gnome-shell/T29763: 130/249] Revert "appDisplay: Fix small app folder icons when using HIDPI"



commit 93f84e2e368f4e4b2f0810491e9113e287fa1ace
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Tue May 7 20:17:20 2019 -0300

    Revert "appDisplay: Fix small app folder icons when using HIDPI"
    
    This reverts commit 92f1aec3dd1a373645aa0f70016440993a8ac997. With
    resource scale in place, this is not necessary anymore.
    
    https://phabricator.endlessm.com/T26531

 js/ui/appDisplay.js | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js
index 03b103067f..0d0616d585 100644
--- a/js/ui/appDisplay.js
+++ b/js/ui/appDisplay.js
@@ -1213,12 +1213,11 @@ class FolderView extends BaseAppView {
         });
         layout.hookup_style(icon);
         let subSize = Math.floor(FOLDER_SUBICON_FRACTION * size);
-        let scale = St.ThemeContext.get_for_stage(global.stage).scale_factor;
 
         let numItems = this._orderedItems.length;
         let rtl = icon.get_text_direction() == Clutter.TextDirection.RTL;
         for (let i = 0; i < 4; i++) {
-            let bin = new St.Bin({ width: subSize * scale, height: subSize * scale });
+            let bin = new St.Bin({ width: subSize, height: subSize });
             if (i < numItems)
                 bin.child = this._orderedItems[i].app.create_icon_texture(subSize);
             layout.attach(bin, rtl ? (i + 1) % 2 : i % 2, Math.floor(i / 2), 1, 1);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]