@galacean/engine-core 1.1.0-beta.28 → 1.1.0-beta.29

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.
package/dist/main.js CHANGED
@@ -1715,8 +1715,8 @@ var Logger = {
1715
1715
  } else {
1716
1716
  word += char;
1717
1717
  wordWidth += charInfo.xAdvance;
1718
- wordMaxAscent = lineMaxAscent = Math.max(wordMaxAscent, ascent);
1719
- wordMaxDescent = lineMaxDescent = Math.max(wordMaxDescent, descent);
1718
+ wordMaxAscent = Math.max(wordMaxAscent, ascent);
1719
+ wordMaxDescent = Math.max(wordMaxDescent, descent);
1720
1720
  }
1721
1721
  }
1722
1722
  }