@@ -12,7 +12,7 @@ const version_id = '7.9.x',
12
12
13
13
/** @summary version date
14
14
* @desc Release date in format day/month/year like '14/04/2022' */
15
- version_date = '4 /09/2025',
15
+ version_date = '24 /09/2025',
16
16
17
17
/** @summary version id and date
18
18
* @desc Produced by concatenation of {@link version_id} and {@link version_date}
@@ -9109,6 +9109,14 @@ class BasePainter {
9109
9109
9110
9110
rect.changed = false;
9111
9111
9112
+ if (!rect.width && !rect.height && !main.empty() && main.attr('style')) {
9113
+ const ws = main.style('width'), hs = main.style('height');
9114
+ if (isStr(ws) && isStr(hs) && ws.match(/^\d+px$/) && hs.match(/^\d+px$/)) {
9115
+ rect.width = parseInt(ws.slice(0, ws.length-2));
9116
+ rect.height = parseInt(hs.slice(0, hs.length-2));
9117
+ }
9118
+ }
9119
+
9112
9120
if (old_h && old_w && (old_h > 0) && (old_w > 0)) {
9113
9121
if ((old_h !== rect.height) || (old_w !== rect.width))
9114
9122
rect.changed = (check_level > 1) || (rect.width / old_w < 0.99) || (rect.width / old_w > 1.01) || (rect.height / old_h < 0.99) || (rect.height / old_h > 1.01);
@@ -85285,7 +85293,7 @@ class THistPainter extends ObjectPainter {
85285
85293
// place colz in the beginning, that stat box is always drawn on the top
85286
85294
this.addFunction(pal, true);
85287
85295
} else if ((pal_painter?.isPaletteVertical() !== undefined) && (can_move !== 'toggle'))
85288
- o .Zvert = pal_painter.isPaletteVertical();
85296
+ this.options .Zvert = pal_painter.isPaletteVertical();
85289
85297
85290
85298
const fp = this.getFramePainter();
85291
85299
0 commit comments