5eb74b3a31d9d3353f7a508541ff6d6e58f0ab75,dipy/viz/interactor.py,CustomInteractorStyle,on_mouse_wheel_backward,#CustomInteractorStyle#Any#Any#,173

Before Change



    def on_mouse_wheel_backward(self, obj, evt):
        // First, propagate mouse wheel event to underneath prop.
        abort_flag = False
        prop = self.get_prop_at_event_position()
        if prop is not None:
            abort_flag = self.propagate_event(evt, prop)

        // Then, to the active props.
        if not abort_flag:
            abort_flag = self.propagate_event(evt, *self.active_props)

        // Finally, to the default interactor.
        if not abort_flag:
            self.default_interactor.OnMouseWheelBackward()

    def on_char(self, obj, evt):

After Change


        // First, propagate mouse wheel event to underneath prop.
        prop = self.get_prop_at_event_position()
        if prop is not None:
            self.propagate_event(evt, prop)

        // Then, to the active props.
        if not self.event.abort_flag:
            self.propagate_event(evt, *self.active_props)

        // Finally, to the default interactor.
        if not self.event.abort_flag:
            self.default_interactor.OnMouseWheelBackward()

    def on_char(self, obj, evt):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 5

Non-data size: 8

Instances


Project Name: nipy/dipy
Commit Name: 5eb74b3a31d9d3353f7a508541ff6d6e58f0ab75
Time: 2016-10-16
Author: marc.cote.19@gmail.com
File Name: dipy/viz/interactor.py
Class Name: CustomInteractorStyle
Method Name: on_mouse_wheel_backward


Project Name: nipy/dipy
Commit Name: 5eb74b3a31d9d3353f7a508541ff6d6e58f0ab75
Time: 2016-10-16
Author: marc.cote.19@gmail.com
File Name: dipy/viz/interactor.py
Class Name: CustomInteractorStyle
Method Name: on_mouse_wheel_forward


Project Name: nipy/dipy
Commit Name: 5eb74b3a31d9d3353f7a508541ff6d6e58f0ab75
Time: 2016-10-16
Author: marc.cote.19@gmail.com
File Name: dipy/viz/interactor.py
Class Name: CustomInteractorStyle
Method Name: on_right_button_down


Project Name: nipy/dipy
Commit Name: 5eb74b3a31d9d3353f7a508541ff6d6e58f0ab75
Time: 2016-10-16
Author: marc.cote.19@gmail.com
File Name: dipy/viz/interactor.py
Class Name: CustomInteractorStyle
Method Name: on_left_button_down


Project Name: nipy/dipy
Commit Name: 5eb74b3a31d9d3353f7a508541ff6d6e58f0ab75
Time: 2016-10-16
Author: marc.cote.19@gmail.com
File Name: dipy/viz/interactor.py
Class Name: CustomInteractorStyle
Method Name: on_middle_button_down