JAL-1807 - Bob's last(?) before leaving Dundee -- adds fast file loading
[jalviewjs.git] / site / j2s / jalview / schemes / ResidueColourScheme.js
index 9b2382f..23a1c72 100644 (file)
@@ -26,11 +26,11 @@ Clazz.makeConstructor (c$,
 function () {
 this.symbolIndex = null;
 });
-Clazz.defineMethod (c$, "findColour", 
+Clazz.overrideMethod (c$, "findColour", 
 function (c) {
 return this.colors == null ? java.awt.Color.white : this.colors[this.symbolIndex[c.charCodeAt (0)]];
 }, "~S");
-Clazz.defineMethod (c$, "findColour", 
+Clazz.overrideMethod (c$, "findColourSeq", 
 function (c, j, seq) {
 var currentColour;
 if (this.colors != null && this.symbolIndex != null && (this.threshold == 0) || this.aboveThreshold (c, j)) {