f8ecbcd92c93a0b6fd07965fc1ca3bdd7b30efec,dipy/viz/ui.py,ListBox2D,down_button_callback,#ListBox2D#Any#Any#Any#,3405

Before Change


        list_box: :class:`ListBox2D`

        
        view_end = self.view_offset + len(self.slots)
        if view_end < len(self.values):
            self.view_offset += 1
            self.update()

After Change


        if view_end < len(self.values):
            self.view_offset += 1
            self.update()
            scroll_bar_idx = self.panel._elements.index(self.scroll_bar)
            self.scroll_bar.center = (self.scroll_bar.center[0],
                                      self.scroll_bar.center[1] -
                                      self.scroll_step_size)
            self.panel.element_offsets[scroll_bar_idx] = (
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: nipy/dipy
Commit Name: f8ecbcd92c93a0b6fd07965fc1ca3bdd7b30efec
Time: 2018-09-08
Author: karan.jkps@gmail.com
File Name: dipy/viz/ui.py
Class Name: ListBox2D
Method Name: down_button_callback


Project Name: J535D165/recordlinkage
Commit Name: 5e82953e37f859b023eb2050abdfedc8c7447fb0
Time: 2016-02-06
Author: jonathandebruinhome@gmail.com
File Name: recordlinkage/indexing.py
Class Name: Pairs
Method Name: iterindex


Project Name: mlflow/mlflow
Commit Name: 657370491536cbb32662292089769c8e5c04468d
Time: 2019-09-04
Author: 47035943+ahutterTA@users.noreply.github.com
File Name: mlflow/store/hdfs_artifact_repo.py
Class Name: HdfsArtifactRepository
Method Name: list_artifacts