projects
/
minwii.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Ajout d'une propriété qui donne l'histogramme des fréquences d'intervalles.
[minwii.git]
/
src
/
minwii
/
widgets
/
playingscreen.py
diff --git
a/src/minwii/widgets/playingscreen.py
b/src/minwii/widgets/playingscreen.py
index
66c4776
..
ca6a1e3
100755
(executable)
--- a/
src/minwii/widgets/playingscreen.py
+++ b/
src/minwii/widgets/playingscreen.py
@@
-229,7
+229,7
@@
class SongPlayingScreen(PlayingScreenBase) :
def handleEasyColumnOver(self, event) :
col = event.column
if col.state and \
def handleEasyColumnOver(self, event) :
col = event.column
if col.state and \
-
any(event.mouseEvent.buttons)
and \
+
self.cursor.pressed
and \
not self.currentNotePlayed :
self.playnote(col, event.pos)
SongPlayingScreen.setNoteTimeout(
not self.currentNotePlayed :
self.playnote(col, event.pos)
SongPlayingScreen.setNoteTimeout(
@@
-242,7
+242,7
@@
class SongPlayingScreen(PlayingScreenBase) :
def handleNormalColumnOver(self, event) :
col = event.column
if col.state and \
def handleNormalColumnOver(self, event) :
col = event.column
if col.state and \
-
any(event.mouseEvent.buttons)
and \
+
self.cursor.pressed
and \
not self.currentNotePlayed :
self.playnote(col, event.pos)
self.currentNotePlayed = True
not self.currentNotePlayed :
self.playnote(col, event.pos)
self.currentNotePlayed = True