Fix scroll_to_index in data_list

This commit is contained in:
Insality
2021-04-05 22:50:20 +03:00
parent 4f621274c1
commit c3f1b38a8a
3 changed files with 16 additions and 6 deletions

View File

@@ -34,7 +34,7 @@ function init(self)
-- Disable slider input, now we can not use slider with data list
self.slider_simple:set_input_enabled(false)
self.data_list_simple.on_scroll_progress_change:subscribe(function(_, progress)
self.slider_simple:set(progress)
self.slider_simple:set(progress, true)
end)
self.druid:new_button("button_simple_first/button", function()