diff options
-rw-r--r-- | Resources/tooltips_en.py | 10 | ||||
-rw-r--r-- | SynthLab/SynthLabWindow.py | 10 |
2 files changed, 10 insertions, 10 deletions
diff --git a/Resources/tooltips_en.py b/Resources/tooltips_en.py index d974a76..a348b79 100644 --- a/Resources/tooltips_en.py +++ b/Resources/tooltips_en.py @@ -222,16 +222,16 @@ class Tooltips: VIBRATO = VIBRATO GAIN = GAIN - GRAIN = _('grain') + GRAIN = _('Grain') FREQ = FREQ SAMPLEN = SAMPLEN - INDEX = _('index') + INDEX = _('Index') GAIN = GAIN - ADDSYNTH = _('addSynth') + ADDSYNTH = _('Additive Synthesis') FREQ = FREQ - SPREAD = _('spread') - WAVE = _('waveform') + SPREAD = _('Spread') + WAVE = _('Waveform') GAIN = GAIN #Effects diff --git a/SynthLab/SynthLabWindow.py b/SynthLab/SynthLabWindow.py index d9c7377..78c8240 100644 --- a/SynthLab/SynthLabWindow.py +++ b/SynthLab/SynthLabWindow.py @@ -522,6 +522,11 @@ class SynthLabWindow(SubActivity): self.highlightWire( None ) self.highlightGate( None ) + + if event.button == 1 or event.button == 3: + for i in range(self.objectCount): + if self.bounds[i][0] < event.x < self.bounds[i][2] and self.bounds[i][1] < event.y < self.bounds[i][3]: + self.select( i ) if self.action == "drag-object": self.doneAction() @@ -541,11 +546,6 @@ class SynthLabWindow(SubActivity): self.highlightWire( None ) self.highlightGate( None ) - - if event.button == 1: - for i in range(self.objectCount): - if self.bounds[i][0] < event.x < self.bounds[i][2] and self.bounds[i][1] < event.y < self.bounds[i][3]: - self.select( i ) if event.button == 1: for i in range(self.objectCount): |