X-Git-Url: http://source.jalview.org/gitweb/?p=jalviewjs.git;a=blobdiff_plain;f=site%2Fj2s%2Fjalview%2Fschemes%2FRNAInteractionColourScheme.js;h=5c8425b7030066ee0f49e036ae3c59b9d8927396;hp=69352532334ed9029433ace609aaae86cb2ab8f8;hb=36d803e4a1f98728e91e80de5fa0b95e0cadb0d4;hpb=5b669b6c1a4f1f29b178283a46bc22fcd66aabad diff --git a/site/j2s/jalview/schemes/RNAInteractionColourScheme.js b/site/j2s/jalview/schemes/RNAInteractionColourScheme.js index 6935253..5c8425b 100644 --- a/site/j2s/jalview/schemes/RNAInteractionColourScheme.js +++ b/site/j2s/jalview/schemes/RNAInteractionColourScheme.js @@ -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)) {