Don't seek if not linked

master
William Toohey 10 years ago
parent d06e2c13d2
commit bd5bd40605
  1. 3
      src/js/HuesEditor.js

@ -640,6 +640,9 @@ HuesEditor.prototype.uiCreateSingleEditor = function(title, soundName, rhythmNam
} }
HuesEditor.prototype.rightClick = function(editor, event) { HuesEditor.prototype.rightClick = function(editor, event) {
if(!this.linked) {
return;
}
// We abuse the fact that right clicking moves the caret. Hooray! // We abuse the fact that right clicking moves the caret. Hooray!
var caret = this.getCaret(editor._beatmap); var caret = this.getCaret(editor._beatmap);
var totalLen = this.getText(editor).length; var totalLen = this.getText(editor).length;

Loading…
Cancel
Save