oncoprintjs 6.0.2 → 6.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -11179,6 +11179,7 @@ var OncoprintZoomSlider = /** @class */ (function () {
11179
11179
  value: function (params) {
11180
11180
  var $ctr = this.$div;
11181
11181
  var icon_size = Math.round(params.btn_size * 0.7);
11182
+ var icon_div_border_size = 1;
11182
11183
  var icon_padding = Math.round((params.btn_size - icon_size) / 2);
11183
11184
  var $slider_bar = $__default["default"]('<div>')
11184
11185
  .css({
@@ -11202,7 +11203,7 @@ var OncoprintZoomSlider = /** @class */ (function () {
11202
11203
  'min-height': params.btn_size,
11203
11204
  'min-width': params.btn_size,
11204
11205
  'background-color': '#ffffff',
11205
- border: 'solid 1px black',
11206
+ border: "solid " + icon_div_border_size + "px black",
11206
11207
  'border-radius': '3px',
11207
11208
  cursor: 'pointer',
11208
11209
  })
@@ -11211,8 +11212,8 @@ var OncoprintZoomSlider = /** @class */ (function () {
11211
11212
  .addClass('icon fa fa-plus')
11212
11213
  .css({
11213
11214
  position: 'absolute',
11214
- top: icon_padding,
11215
- left: icon_padding,
11215
+ top: icon_padding - icon_div_border_size,
11216
+ left: icon_padding - icon_div_border_size,
11216
11217
  'min-width': icon_size,
11217
11218
  'min-height': icon_size,
11218
11219
  })
@@ -11223,7 +11224,7 @@ var OncoprintZoomSlider = /** @class */ (function () {
11223
11224
  'min-height': params.btn_size,
11224
11225
  'min-width': params.btn_size,
11225
11226
  'background-color': '#ffffff',
11226
- border: 'solid 1px black',
11227
+ border: "solid " + icon_div_border_size + "px black",
11227
11228
  'border-radius': '3px',
11228
11229
  cursor: 'pointer',
11229
11230
  })
@@ -11232,8 +11233,8 @@ var OncoprintZoomSlider = /** @class */ (function () {
11232
11233
  .addClass('icon fa fa-minus')
11233
11234
  .css({
11234
11235
  position: 'absolute',
11235
- top: icon_padding,
11236
- left: icon_padding,
11236
+ top: icon_padding - icon_div_border_size,
11237
+ left: icon_padding - icon_div_border_size,
11237
11238
  'min-width': icon_size,
11238
11239
  'min-height': icon_size,
11239
11240
  })