Add druid with context, get component druid as helper.get_druid(context)

This commit is contained in:
Insality
2019-12-05 22:39:35 +03:00
parent da27d6edd8
commit b8dec4826f
12 changed files with 51 additions and 30 deletions

View File

@@ -352,7 +352,7 @@ function M.scroll_to_index(self, index, skip_cb)
self.selected = index
if not skip_cb and self.on_point_callback then
self.on_point_callback(self.parent.parent, index, self.points[index])
self.on_point_callback(self.context, index, self.points[index])
end
end