JAL-1807 - Bob's last(?) before leaving Dundee -- adds fast file loading
[jalviewjs.git] / site / j2s / jalview / schemes / RNAInteractionColourScheme.js
index 6935253..5c8425b 100644 (file)
@@ -1,11 +1,11 @@
 Clazz.declarePackage ("jalview.schemes");
 Clazz.load (["jalview.schemes.ResidueColourScheme"], "jalview.schemes.RNAInteractionColourScheme", ["jalview.schemes.ResidueProperties", "java.awt.Color"], function () {
 c$ = Clazz.declareType (jalview.schemes, "RNAInteractionColourScheme", jalview.schemes.ResidueColourScheme);
-Clazz.defineMethod (c$, "findColour", 
+Clazz.overrideMethod (c$, "findColour", 
 function (c) {
 return this.colors[jalview.schemes.ResidueProperties.nucleotideIndex[c.charCodeAt (0)]];
 }, "~S");
-Clazz.defineMethod (c$, "findColour", 
+Clazz.overrideMethod (c$, "findColourSeq", 
 function (c, j, seq) {
 var currentColour;
 if ((this.threshold == 0) || this.aboveThreshold (c, j)) {