From 68c3728b4759f65f5ebc6d7c5ddf2157700cc1a1 Mon Sep 17 00:00:00 2001 From: volzhs Date: Thu, 9 May 2019 03:51:08 +0900 Subject: [PATCH] Revert "Merge pull request #26053 from qarmin/back_scroll_to_start" This reverts commit b5deb1dc72d8c4c92c9850379522926e60ddf7d0, reversing changes made to 2cc8848c3c3815c6f72ce5f9b75bfab8a1498292. This change causes unwanted regression. It's too risky to have scroll back to top in ItemList.clear() --- scene/gui/item_list.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/scene/gui/item_list.cpp b/scene/gui/item_list.cpp index f5e979e9e60..026374ded1d 100644 --- a/scene/gui/item_list.cpp +++ b/scene/gui/item_list.cpp @@ -369,7 +369,6 @@ void ItemList::clear() { update(); shape_changed = true; defer_select_single = -1; - scroll_bar->set_value(0); } void ItemList::set_fixed_column_width(int p_size) {