barsa-novin-ray-core 2.3.6 → 2.3.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1602,7 +1602,7 @@ const measureTextValues = {};
1602
1602
  function measureText2(text, fontSize, fontName) {
1603
1603
  const key = `${text}${fontSize}${fontName}`;
1604
1604
  if (measureTextValues[key]) {
1605
- return measureTextValues[text];
1605
+ return measureTextValues[key];
1606
1606
  }
1607
1607
  const measureTextDom = document.getElementById('measureText');
1608
1608
  if (!measureTextDom) {