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.es.js CHANGED
@@ -11169,6 +11169,7 @@ var OncoprintZoomSlider = /** @class */ (function () {
11169
11169
  value: function (params) {
11170
11170
  var $ctr = this.$div;
11171
11171
  var icon_size = Math.round(params.btn_size * 0.7);
11172
+ var icon_div_border_size = 1;
11172
11173
  var icon_padding = Math.round((params.btn_size - icon_size) / 2);
11173
11174
  var $slider_bar = $$1('<div>')
11174
11175
  .css({
@@ -11192,7 +11193,7 @@ var OncoprintZoomSlider = /** @class */ (function () {
11192
11193
  'min-height': params.btn_size,
11193
11194
  'min-width': params.btn_size,
11194
11195
  'background-color': '#ffffff',
11195
- border: 'solid 1px black',
11196
+ border: "solid " + icon_div_border_size + "px black",
11196
11197
  'border-radius': '3px',
11197
11198
  cursor: 'pointer',
11198
11199
  })
@@ -11201,8 +11202,8 @@ var OncoprintZoomSlider = /** @class */ (function () {
11201
11202
  .addClass('icon fa fa-plus')
11202
11203
  .css({
11203
11204
  position: 'absolute',
11204
- top: icon_padding,
11205
- left: icon_padding,
11205
+ top: icon_padding - icon_div_border_size,
11206
+ left: icon_padding - icon_div_border_size,
11206
11207
  'min-width': icon_size,
11207
11208
  'min-height': icon_size,
11208
11209
  })
@@ -11213,7 +11214,7 @@ var OncoprintZoomSlider = /** @class */ (function () {
11213
11214
  'min-height': params.btn_size,
11214
11215
  'min-width': params.btn_size,
11215
11216
  'background-color': '#ffffff',
11216
- border: 'solid 1px black',
11217
+ border: "solid " + icon_div_border_size + "px black",
11217
11218
  'border-radius': '3px',
11218
11219
  cursor: 'pointer',
11219
11220
  })
@@ -11222,8 +11223,8 @@ var OncoprintZoomSlider = /** @class */ (function () {
11222
11223
  .addClass('icon fa fa-minus')
11223
11224
  .css({
11224
11225
  position: 'absolute',
11225
- top: icon_padding,
11226
- left: icon_padding,
11226
+ top: icon_padding - icon_div_border_size,
11227
+ left: icon_padding - icon_div_border_size,
11227
11228
  'min-width': icon_size,
11228
11229
  'min-height': icon_size,
11229
11230
  })