summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvolzhs <volzhs@gmail.com>2019-05-09 03:51:08 +0900
committervolzhs <volzhs@gmail.com>2019-05-09 03:51:08 +0900
commit68c3728b4759f65f5ebc6d7c5ddf2157700cc1a1 (patch)
tree2ba2e97aea36ce934eb217990d44c2279cc18b65
parentb96cd577c3022c8431c7911b24c9d294c7f9c8d9 (diff)
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()
-rw-r--r--scene/gui/item_list.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/scene/gui/item_list.cpp b/scene/gui/item_list.cpp
index f5e979e9e6..026374ded1 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) {