From 9b43937781c90be948b2d73e959c8eb1cb834b77 Mon Sep 17 00:00:00 2001 From: Woochanlee Date: Fri, 23 Oct 2020 13:24:43 +0900 Subject: [PATCH] elm_spinner: Check new step value to avoid useless item update. @tizen_fix Change-Id: I47c2d5f3e3861b2335da6690bcbd9d94e54790cf --- src/lib/elementary/elm_spinner.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/lib/elementary/elm_spinner.c b/src/lib/elementary/elm_spinner.c index a72ead3..23e8e12 100644 --- a/src/lib/elementary/elm_spinner.c +++ b/src/lib/elementary/elm_spinner.c @@ -2489,6 +2489,10 @@ _elm_spinner_efl_ui_range_display_range_limits_get(const Eo *obj EINA_UNUSED, El EOLIAN static void _elm_spinner_efl_ui_range_interactive_range_step_set(Eo *obj EINA_UNUSED, Elm_Spinner_Data *sd, double step) { + //TIZEN_ONLY(20201023): Check step value to avoid useless item re-arrange + if (EINA_DBL_EQ(sd->step, step)) return; + // + sd->step = step; //TIZEN_ONLY(20201023): List Spinner feature -- 2.7.4