Revert "elm_hoversel: Fix spacer size calculation" 98/247798/1
authorJunsuChoi <jsuya.choi@samsung.com>
Tue, 17 Nov 2020 01:26:24 +0000 (10:26 +0900)
committerJunsuChoi <jsuya.choi@samsung.com>
Tue, 17 Nov 2020 01:27:22 +0000 (10:27 +0900)
This reverts commit 8952fea71125e66fc962571985fd45e3d71ae970.

Change-Id: Icde0c368b3fa40671daea78c05e0007d32fb400f

src/lib/elementary/elc_hoversel.c

index 4e1ae23..d1c8fd7 100644 (file)
@@ -387,12 +387,7 @@ _sizing_eval(void *data)
                   else
                     elm_object_signal_emit(sd->hover, "elm,state,align,right", "elm");
 
-                  // TIZEN_ONLY(20201116): elm_hoversel: Fix spacer size calculation
-                  // NOTE: Resize spacer(adjusted) only when left area of spacer is
-                  //       smaller than size of spacer.
-                  if ((adjusted.x + adjusted.w) - parent.x < adjusted.x)
-                  //
-                    adjusted.w = (parent.x + parent.w) - adjusted.x;
+                  adjusted.w = (parent.x + parent.w) - adjusted.x;
                }
           }
      }