com.wallstop-studios.unity-helpers 2.0.0-rc74.9 → 2.0.0-rc75

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.
@@ -441,7 +441,7 @@
441
441
  importer.ReadTextureSettings(newSettings);
442
442
  Vector2 origPivot = GetSpritePivot(importer);
443
443
  Vector2 origCenter = new(width * origPivot.x, height * origPivot.y);
444
- Vector2 newPivotPixels = origCenter - new Vector2(minX, minY);
444
+ Vector2 newPivotPixels = origCenter - new Vector2(visibleMinX, visibleMinY);
445
445
  Vector2 newPivotNorm = new(
446
446
  cropWidth > 0 ? newPivotPixels.x / cropWidth : 0.5f,
447
447
  cropHeight > 0 ? newPivotPixels.y / cropHeight : 0.5f
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "com.wallstop-studios.unity-helpers",
3
- "version": "2.0.0-rc74.9",
3
+ "version": "2.0.0-rc75",
4
4
  "displayName": "Unity Helpers",
5
5
  "description": "Various Unity Helper Library",
6
6
  "dependencies": {},
@@ -63,5 +63,6 @@
63
63
 
64
64
 
65
65
 
66
+
66
67
 
67
68