@@ -12,7 +12,7 @@ const version_id = '7.9.x',
1212
1313/** @summary version date
1414 * @desc Release date in format day/month/year like '14/04/2022' */
15- version_date = '4 /09/2025',
15+ version_date = '24 /09/2025',
1616
1717/** @summary version id and date
1818 * @desc Produced by concatenation of {@link version_id} and {@link version_date}
@@ -9109,6 +9109,14 @@ class BasePainter {
91099109
91109110 rect.changed = false;
91119111
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+
91129120 if (old_h && old_w && (old_h > 0) && (old_w > 0)) {
91139121 if ((old_h !== rect.height) || (old_w !== rect.width))
91149122 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 {
8528585293 // place colz in the beginning, that stat box is always drawn on the top
8528685294 this.addFunction(pal, true);
8528785295 } else if ((pal_painter?.isPaletteVertical() !== undefined) && (can_move !== 'toggle'))
85288- o .Zvert = pal_painter.isPaletteVertical();
85296+ this.options .Zvert = pal_painter.isPaletteVertical();
8528985297
8529085298 const fp = this.getFramePainter();
8529185299
0 commit comments