Skip to content

Commit 1779774

Browse files
committed
Prepare for 7.0.2 release
1 parent b83696e commit 1779774

File tree

4 files changed

+15
-10
lines changed

4 files changed

+15
-10
lines changed

build/jsroot.js

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// https://root.cern/js/ v7.0.1
1+
// https://root.cern/js/ v7.0.2
22
(function (global, factory) {
33
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
44
typeof define === 'function' && define.amd ? define(['exports'], factory) :
@@ -7,11 +7,11 @@ typeof define === 'function' && define.amd ? define(['exports'], factory) :
77

88
/** @summary version id
99
* @desc For the JSROOT release the string in format "major.minor.patch" like "6.3.0" */
10-
let version_id = "7.0.x";
10+
let version_id = "7.0.2";
1111

1212
/** @summary version date
1313
* @desc Release date in format day/month/year like "19/11/2021" */
14-
let version_date = "17/05/2022";
14+
let version_date = "1/06/2022";
1515

1616
/** @summary version id and date
1717
* @desc Produced by concatenation of {@link version_id} and {@link version_date}
@@ -54339,7 +54339,7 @@ const FrameInteractive = {
5433954339

5434054340
fp.setLastEventPos(pnt);
5434154341
} else if (!this.v7_frame && ((kind=="x") || (kind=="y") || (kind=="z"))) {
54342-
exec_painter = this.getMainPainter(); // histogram painter delivers items for axis menu
54342+
exec_painter = this.getMainPainter(true); // histogram painter delivers items for axis menu
5434354343
}
5434454344
} else if (kind == 'painter' && obj) {
5434554345
// this is used in 3D context menu to show special painter
@@ -55413,7 +55413,7 @@ class TFramePainter extends ObjectPainter {
5541355413
/** @summary Fill context menu for the frame
5541455414
* @desc It could be appended to the histogram menus */
5541555415
fillContextMenu(menu, kind, obj) {
55416-
let main = this.getMainPainter(),
55416+
let main = this.getMainPainter(true),
5541755417
pp = this.getPadPainter(),
5541855418
pad = pp ? pp.getRootPad(true) : null;
5541955419

@@ -58884,6 +58884,8 @@ class TPadPainter extends ObjectPainter {
5888458884
this.painters.splice(k--,1);
5888558885
sub.cleanup(); // cleanup such painter
5888658886
isanyremove = true;
58887+
if (this.main_painter_ref === sub)
58888+
delete this.main_painter_ref;
5888758889
}
5888858890
}
5888958891

@@ -98965,6 +98967,8 @@ class RPadPainter extends RObjectPainter {
9896598967
this.painters.splice(k--,1);
9896698968
sub.cleanup(); // cleanup such painter
9896798969
isanyremove = true;
98970+
if (this.main_painter_ref === sub)
98971+
delete this.main_painter_ref;
9896898972
}
9896998973
}
9897098974

changes.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
# JSROOT changelog
22

3-
## Changes in 7.0.x
4-
1. Fix TH2 arrow drawing
3+
## Changes in 7.0.2
4+
1. Fix - TH2 arrow drawing
55
2. Fix - interactive change of fonts attributes
66
3. Fix - proper draw results of TTree::Draw
7+
4. Fix - draw new histogram on same canvas
78

89

910
## Changes in 7.0.1

modules/core.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11

22
/** @summary version id
33
* @desc For the JSROOT release the string in format "major.minor.patch" like "6.3.0" */
4-
let version_id = "7.0.x";
4+
let version_id = "7.0.2";
55

66
/** @summary version date
77
* @desc Release date in format day/month/year like "19/11/2021" */
8-
let version_date = "17/05/2022";
8+
let version_date = "1/06/2022";
99

1010
/** @summary version id and date
1111
* @desc Produced by concatenation of {@link version_id} and {@link version_date}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "jsroot",
3-
"version": "7.0.1",
3+
"version": "7.0.2",
44
"engines": {
55
"node": ">=0.14.8"
66
},

0 commit comments

Comments
 (0)