From 1713751728ec85bdc0dcb78e902360a4a460e261 Mon Sep 17 00:00:00 2001 From: Akshay Gupta <32260605+akshaygupta533@users.noreply.github.com> Date: Thu, 15 Oct 2020 21:18:55 -0700 Subject: [PATCH] Colorbar module default overlay shift fixed (#1542) * Fixes #1538 * Fixes #1538 Co-authored-by: Harsh Khandeparkar <34770591+HarshKhandeparkar@users.noreply.github.com> --- src/modules/Colorbar/Module.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/Colorbar/Module.js b/src/modules/Colorbar/Module.js index 3765b03e..ffb3fdf6 100644 --- a/src/modules/Colorbar/Module.js +++ b/src/modules/Colorbar/Module.js @@ -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')