mirror of
https://github.com/Insality/druid.git
synced 2025-09-27 10:02:18 +02:00
Fix scroll_to_index in data_list
This commit is contained in:
@@ -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()
|
||||
|
Reference in New Issue
Block a user