Commit 0f4134e
fix: Center adaptive icon logo horizontally
Fix horizontal alignment issue where the logo appeared slightly
left-aligned in the adaptive icon.
Root cause analysis:
- Original logo SVG has viewport 1024x1024
- Logo path content spans ~285-720px (center at ~502px)
- Logo is inherently off-center by ~10px in original viewport
- Previous centering calculation assumed logo was centered in viewport
Changes:
- Adjust scale from 0.061 to 0.0645 for better fit
- Increase translateX from 21.06 to 21.65 to compensate for logo offset
- Keep translateY at 21 (vertical centering is correct)
- Add detailed comments explaining the offset calculation
Result: Logo now appears properly centered in adaptive icon canvas
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>1 parent 8768d7b commit 0f4134e
1 file changed
+10
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
14 | 17 | | |
15 | 18 | | |
16 | 19 | | |
| |||
0 commit comments