diff --git a/CHANGELOG.md b/CHANGELOG.md index ab0036950df..974fbb9c76e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,17 @@ To see all merged commits on the master branch that will be part of the next plo where X.Y.Z is the semver of most recent plotly.js release. + +## [3.0.2] -- 2025-07-22 + +### Fixed + - Fix installing dependencies in node v22 [[#7381](https://github.com/plotly/plotly.js/pull/7381)], with thanks to @chaigh-uk for the contribution! + - Fix Persian calendar leap year [[#7456](https://github.com/plotly/plotly.js/pull/7456)] + - Fix scroll wheel zoom for geo subplots in Safari [#7474](https://github.com/plotly/plotly.js/pull/7474) + - Add method to check for WebKit WebView user agent string [[#7479](https://github.com/plotly/plotly.js/pull/7479)] + - Fix edit colorbar title [7487](https://github.com/plotly/plotly.js/pull/7487) + + ## [3.1.0-rc.0] -- 2025-07-15 ### Added diff --git a/src/components/shapes/draw_newshape/newshapes.js b/src/components/shapes/draw_newshape/newshapes.js index 7145838c04d..0010850ea5d 100644 --- a/src/components/shapes/draw_newshape/newshapes.js +++ b/src/components/shapes/draw_newshape/newshapes.js @@ -86,7 +86,7 @@ function newShapes(outlines, dragOptions) { case 'line': case 'rect': case 'circle': - + var xaxis = axis_ids.getFromId(gd, beforeEdit.xref); if (beforeEdit.xref.charAt(0) === 'x' && xaxis.type.includes('category')) { modifyItem('x0', afterEdit.x0 - (beforeEdit.x0shift || 0)); diff --git a/test/jasmine/karma.conf.js b/test/jasmine/karma.conf.js index cdd1ce2e60d..b1f52a8306d 100644 --- a/test/jasmine/karma.conf.js +++ b/test/jasmine/karma.conf.js @@ -192,7 +192,7 @@ func.defaultConfig = { // N.B. the rest of this field is filled below files: [ pathToCustomMatchers, - // available to fetch from /base/node_modules/mathjax-v2/ + // available to fetch from /base/node_modules/@plotly/mathjax-v2/ // more info: http://karma-runner.github.io/3.0/config/files.html {pattern: pathToMathJax2 + '/**', included: false, watched: false, served: true}, {pattern: pathToMathJax3 + '/**', included: false, watched: false, served: true},