Skip to content

Commit

Permalink
fixed issue with color values
Browse files Browse the repository at this point in the history
  • Loading branch information
bhofmei committed Jun 23, 2017
1 parent 68659a8 commit 7717442
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ Additional parameters that can be specified for the track configuration.


## Future Plans
- Jasmine testing
- "Loading" screen when recomputing after changing a track setting
- turn on/off labels using CSS without redrawing
- Ability to add track locally by adding option to menu bar, "File"
Expand Down
3 changes: 3 additions & 0 deletions js/View/Track/NucleotideDensity.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ define([
'dojo/_base/array',
'dojo/_base/lang',
'dojo/_base/Color',
'dojo/colors',
'JBrowse/View/Track/Wiggle/Density',
'JBrowse/Util',
'NucleotideDensityPlugin/Store/SeqFeature/NucDensityMulti',
Expand All @@ -14,6 +15,7 @@ function(
array,
lang,
Color,
dojoColors,
WiggleDensity,
Util,
NucContent,
Expand Down Expand Up @@ -67,6 +69,7 @@ function(
},

_calculatePixelScores: function(canvasWidth, features, featureRects) {
console.log(features.length, featureRects.length);
var pixelValues = new Array(canvasWidth);
array.forEach(features, function(f, i) {
var fRect = featureRects[i];
Expand Down
3 changes: 3 additions & 0 deletions release_notes.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Release notes

v1.0.2 - Jun 23, 2017
- fixed issue when using color values names; all CSS3 color names are supported

v1.0.1 - Jun 21, 2017
- fixed issue with dialog and array colors
- added sample dataset to test plugin is installed correctly
Expand Down

0 comments on commit 7717442

Please sign in to comment.