Mercurial > dive4elements > river
changeset 9181:5dacb6ea75a1
Fixed: pattern got wrong colors
author | gernotbelger |
---|---|
date | Tue, 26 Jun 2018 20:18:18 +0200 |
parents | 9ef1262487e7 |
children | 77eb4553245b |
files | artifacts/src/main/java/org/dive4elements/river/jfree/ColorMapper.java |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/jfree/ColorMapper.java Tue Jun 26 20:16:02 2018 +0200 +++ b/artifacts/src/main/java/org/dive4elements/river/jfree/ColorMapper.java Tue Jun 26 20:18:18 2018 +0200 @@ -33,7 +33,7 @@ out[0] = this.to[0]; out[1] = this.to[1]; out[2] = this.to[2]; - out[2] = src[3]; + out[3] = src[3]; } else { System.arraycopy(src, 0, out, 0, src.length); }