Skip to content

Commit

Permalink
Colorbar module default overlay shift fixed (#1542)
Browse files Browse the repository at this point in the history
* Fixes #1538

* Fixes #1538

Co-authored-by: Harsh Khandeparkar <[email protected]>
  • Loading branch information
akshaygupta533 and harshkhandeparkar authored Oct 16, 2020
1 parent a7993d5 commit 1713751
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/Colorbar/Module.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ module.exports = require('../../util/createMetaModule.js')(
{ 'name': 'gradient', 'options': {} },
{ 'name': 'colormap', 'options': { colormap: options.colormap || defaults.colormap } },
{ 'name': 'crop', 'options': { 'y': 0, 'w': '100%', 'h': options.h || defaults.h } },
{ 'name': 'overlay', 'options': { 'x': options.x || defaults.h, 'y': options.y || defaults.y, 'offset': -4 } }
{ 'name': 'overlay', 'options': { 'x': options.x || defaults.x, 'y': options.y || defaults.y, 'offset': -4 } }
];
}, {
infoJson: require('./info.json')
Expand Down

0 comments on commit 1713751

Please sign in to comment.