Skip to content

Commit 26baf86

Browse files
committed
Max call stack exceeded at browser zoom 110%
1 parent 7dfd07c commit 26baf86

6 files changed

Lines changed: 9 additions & 9 deletions

File tree

dist_ion/plotly-ion.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32823,7 +32823,7 @@ exports.svgAttrs = {
3282332823
var Plotly = require('./plotly');
3282432824

3282532825
// package version injected by `npm run preprocess`
32826-
exports.version = '1.33.1-ion40';
32826+
exports.version = '1.33.1-ion41';
3282732827

3282832828
// inject promise polyfill
3282932829
require('es6-promise').polyfill();
@@ -57698,12 +57698,12 @@ plots.autoMargin = function(gd, id, o) {
5769857698
if(fullLayout.margin.autoexpand !== false) {
5769957699
if(!o) delete fullLayout._pushmargin[id];
5770057700
else {
57701-
var pad = o.pad === undefined ? 25 : o.pad;
57701+
var pad = o.pad === undefined ? 26 : o.pad;
5770257702

5770357703
// if the item is too big, just give it enough automargin to
5770457704
// make sure you can still grab it and bring it back
5770557705
if(o.l + o.r > fullLayout.width * 0.45) o.l = o.r = 0;
57706-
if(o.b + o.t > fullLayout.height * 0.38) o.b = o.t = 0;
57706+
if(o.b + o.t > fullLayout.height * 0.4) o.b = o.t = 0;
5770757707

5770857708
fullLayout._pushmargin[id] = {
5770957709
l: {val: o.x, size: o.l + pad},

dist_ion/plotly-ion.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "plotly.js",
3-
"version": "1.33.1-ion40",
3+
"version": "1.33.1-ion41",
44
"description": "The open source javascript graphing library that powers plotly",
55
"license": "MIT",
66
"main": "./lib/index.js",

src/assets/geo_assets.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ var saneTopojson = require('sane-topojson');
1212

1313

1414
// package version injected by `npm run preprocess`
15-
exports.version = '1.33.1-ion40';exports.topojson = saneTopojson;
15+
exports.version = '1.33.1-ion41';exports.topojson = saneTopojson;

src/core.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
var Plotly = require('./plotly');
1616

1717
// package version injected by `npm run preprocess`
18-
exports.version = '1.33.1-ion40';
18+
exports.version = '1.33.1-ion41';
1919

2020
// inject promise polyfill
2121
require('es6-promise').polyfill();

src/plots/plots.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1544,12 +1544,12 @@ plots.autoMargin = function(gd, id, o) {
15441544
if(fullLayout.margin.autoexpand !== false) {
15451545
if(!o) delete fullLayout._pushmargin[id];
15461546
else {
1547-
var pad = o.pad === undefined ? 25 : o.pad;
1547+
var pad = o.pad === undefined ? 26 : o.pad;
15481548

15491549
// if the item is too big, just give it enough automargin to
15501550
// make sure you can still grab it and bring it back
15511551
if(o.l + o.r > fullLayout.width * 0.45) o.l = o.r = 0;
1552-
if(o.b + o.t > fullLayout.height * 0.38) o.b = o.t = 0;
1552+
if(o.b + o.t > fullLayout.height * 0.4) o.b = o.t = 0;
15531553

15541554
fullLayout._pushmargin[id] = {
15551555
l: {val: o.x, size: o.l + pad},

0 commit comments

Comments
 (0)