This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository enlightenment.

View the commit online.

commit db7fee3e42cf6c3c60eb35a3b93e3d6fd2fb30e4
Author: Carsten Haitzler <ras...@rasterman.com>
AuthorDate: Fri Dec 6 14:14:50 2024 +0000

    e - every - fix item scaling
    
    fixes #91
    
    @fix
---
 src/modules/everything/evry_view.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/modules/everything/evry_view.c b/src/modules/everything/evry_view.c
index 59eada792..8cc5bc819 100644
--- a/src/modules/everything/evry_view.c
+++ b/src/modules/everything/evry_view.c
@@ -1,3 +1,4 @@
+#include "Elementary.h"
 #include "e_mod_main.h"
 
 typedef struct _View       View;
@@ -400,11 +401,13 @@ _place_items(Smart_Data *sd)
      {
         ww = sd->w;
         hh = SIZE_LIST;
+        hh = ELM_SCALE_SIZE(hh);
      }
    else if (sd->view->mode == VIEW_MODE_DETAIL)
      {
         ww = sd->w;
         hh = SIZE_DETAIL;
+        hh = ELM_SCALE_SIZE(hh);
      }
    else
      {
@@ -441,6 +444,8 @@ _place_items(Smart_Data *sd)
 
              if (hh > ww)
                hh = ww + (sd->h - (divider + 1) * ww) / (divider + 1);
+             ww = ELM_SCALE_SIZE(ww);
+             hh = ELM_SCALE_SIZE(hh);
           }
      }
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

Reply via email to