Tooltips size update

commit_hash:4147e82d30b15f6843d837b18d88dbeb1fe01efe
This commit is contained in:
4eb0da
2024-11-18 12:11:56 +03:00
parent d72fa9386b
commit efe83b8aaa
@@ -96,14 +96,14 @@
const jsonHeight = parentComponentContext.getJsonWithVars(data.div?.width);
if (!jsonWidth || jsonWidth.type === 'match_parent') {
calcedWidth = width = ownerBbox.width;
calcedWidth = width = window.innerWidth;
} else if (jsonWidth.type === 'fixed' && jsonWidth.value) {
calcedWidth = width = jsonWidth.value;
} else {
calcedWidth = tooltipBbox.width;
}
if (jsonHeight?.type === 'match_parent') {
calcedHeight = height = ownerBbox.height;
calcedHeight = height = window.innerHeight;
} else if (jsonHeight?.type === 'fixed' && jsonHeight.value) {
calcedHeight = height = jsonHeight.value;
} else {