b528d4811f2a0249530cae546a5d1ee899344307,dipy/viz/interactor.py,CustomInteractorStyle,on_left_button_up,#CustomInteractorStyle#Any#Any#,90
Before Change
def on_left_button_up(self, obj, evt):
self.left_button_down = False
abort_flag = self.propagate_event(evt, *self.active_props)
if not abort_flag:
self.default_interactor.OnLeftButtonUp()
def on_right_button_down(self, obj, evt):
self.right_button_down = True
abort_flag = False
prop = self.get_prop_at_event_position()
After Change
if not abort_flag:
self.default_interactor.OnLeftButtonDown()
def on_left_button_up(self, obj, evt):
self.left_button_down = False
self.propagate_event(evt, *self.selected_props["left_button"])
self.selected_props["left_button"].clear()
self.default_interactor.OnLeftButtonUp()
def on_right_button_down(self, obj, evt):
self.right_button_down = True
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 11
Instances
Project Name: nipy/dipy
Commit Name: b528d4811f2a0249530cae546a5d1ee899344307
Time: 2016-10-14
Author: marc.cote.19@gmail.com
File Name: dipy/viz/interactor.py
Class Name: CustomInteractorStyle
Method Name: on_left_button_up
Project Name: nipy/dipy
Commit Name: b528d4811f2a0249530cae546a5d1ee899344307
Time: 2016-10-14
Author: marc.cote.19@gmail.com
File Name: dipy/viz/interactor.py
Class Name: CustomInteractorStyle
Method Name: on_middle_button_up
Project Name: nipy/dipy
Commit Name: b528d4811f2a0249530cae546a5d1ee899344307
Time: 2016-10-14
Author: marc.cote.19@gmail.com
File Name: dipy/viz/interactor.py
Class Name: CustomInteractorStyle
Method Name: on_right_button_up