1- // https://root.cern/js/ v7.3.3
1+ // https://root.cern/js/ v7.3.4
22(function (global, factory) {
33typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
44typeof 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 '7.0.0' */
10- let version_id = '7.3.3 ';
10+ let version_id = '7.3.4 ';
1111
1212/** @summary version date
1313 * @desc Release date in format day/month/year like '14/04/2022' */
14- let version_date = '12 /06/2023';
14+ let version_date = '13 /06/2023';
1515
1616/** @summary version id and date
1717 * @desc Produced by concatenation of {@link version_id} and {@link version_date}
@@ -53753,18 +53753,16 @@ class BrowserLayout {
5375353753 let sl = area.style('left'), st = area.style('top');
5375453754 this._float_left = parseInt(sl.slice(0,sl.length-2));
5375553755 this._float_top = parseInt(st.slice(0,st.length-2));
53756- this._max_left = main.node().clientWidth - area.node().offsetWidth - 1;
53757- this._max_top = main.node().clientHeight - area.node().offsetHeight - 1;
53756+ this._max_left = Math.max(0, main.node().clientWidth - area.node().offsetWidth - 1) ;
53757+ this._max_top = Math.max(0, main.node().clientHeight - area.node().offsetHeight - 1) ;
5375853758
5375953759 }).filter(evnt => {
5376053760 return main.select('.jsroot_browser_title').node() === evnt.target;
5376153761 }).on('drag', evnt => {
5376253762 this._float_left += evnt.dx;
5376353763 this._float_top += evnt.dy;
53764-
5376553764 area.style('left', Math.min(Math.max(0, this._float_left), this._max_left) + 'px')
5376653765 .style('top', Math.min(Math.max(0, this._float_top), this._max_top) + 'px');
53767-
5376853766 this.setButtonsPosition();
5376953767 });
5377053768
0 commit comments