get sound fix

This commit is contained in:
honfika@gmail.com
2016-02-20 14:13:33 +01:00
parent 17ed61aeab
commit 44554f8f35
2 changed files with 7 additions and 8 deletions

View File

@@ -949,7 +949,7 @@ public final class ImagePanel extends JPanel implements MediaDisplay {
List<Integer> sounds = new ArrayList<>();
List<String> soundClasses = new ArrayList<>();
timeline.getSounds(frame, time, null/*stateUnderCursor*/, mouseButton, sounds, soundClasses);
timeline.getSounds(frame, time, renderContext.mouseOverButton, mouseButton, sounds, soundClasses);
for (int cid : swf.getCharacters().keySet()) {
CharacterTag c = swf.getCharacter(cid);
for (String cls : soundClasses) {