X-Git-Url: http://source.jalview.org/gitweb/?p=jalviewjs.git;a=blobdiff_plain;f=site%2Fj2s%2Fjalview%2Fschemes%2FScoreColourScheme.js;h=2ba51280b74651892724ea63c507886c8c588a24;hp=f097a4053c207e7de91d55cec0dccca3a19c794a;hb=36d803e4a1f98728e91e80de5fa0b95e0cadb0d4;hpb=5b669b6c1a4f1f29b178283a46bc22fcd66aabad diff --git a/site/j2s/jalview/schemes/ScoreColourScheme.js b/site/j2s/jalview/schemes/ScoreColourScheme.js index f097a40..2ba5128 100644 --- a/site/j2s/jalview/schemes/ScoreColourScheme.js +++ b/site/j2s/jalview/schemes/ScoreColourScheme.js @@ -24,7 +24,7 @@ red = 0.0; }this.colors[i] = this.makeColour (red); } }, "~A,~A,~N,~N"); -Clazz.defineMethod (c$, "findColour", +Clazz.overrideMethod (c$, "findColourSeq", function (c, j, seq) { if (this.threshold > 0) { if (!this.aboveThreshold (c, j)) {