From 9af29364c7414128d091d57b020750657946cc8c Mon Sep 17 00:00:00 2001 From: Matthew Kleiman Date: Fri, 23 Jun 2017 09:37:58 +0100 Subject: [PATCH] Fix cell selection window alignment for the updated SlickGrid. --- .../static/js/selection/xcell_selection_model.js | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/web/pgadmin/static/js/selection/xcell_selection_model.js b/web/pgadmin/static/js/selection/xcell_selection_model.js index 8a128c43b..36ce964cc 100644 --- a/web/pgadmin/static/js/selection/xcell_selection_model.js +++ b/web/pgadmin/static/js/selection/xcell_selection_model.js @@ -17,8 +17,14 @@ define([ var _ranges = []; var _self = this; var _selector = new Slick.CellRangeSelector({ - 'selectionCss': { - 'border': '2px solid black', + selectionCss: { + border: '2px solid black', + }, + offset: { + top: 0, + left: -1, + height: 2, + width: 1, }, }); var _options;