fix centering of logo

For some reason, two is now using the last item in the svg group for
centering, which was one of the eyes. The changes the order so that the
body is not the last item and centering works again.
This commit is contained in:
David Lechner
2023-11-18 17:21:44 -06:00
committed by David Lechner
parent c021a77334
commit 5cd0873148
2 changed files with 12 additions and 1 deletions
+3
View File
@@ -4,6 +4,9 @@
## [Unreleased]
### Fixed
- Fixed centering of Pybricks Logo.
## [2.2.0-beta.9] - 2023-10-26
### Changed
+9 -1
View File
@@ -1 +1,9 @@
<svg width="50" height="50" version="1.1" viewBox="0 0 26.458 26.458" xmlns="http://www.w3.org/2000/svg"><g transform="translate(0,-270.54)" fill="#ffffff"><path d="m1.9234 276.13c-1.0655 0-1.9234 0.85655-1.9234 1.9213v10.588c0 1.0648 0.85787 1.9213 1.9234 1.9213h3.3755c1.0655 0 1.9234-0.85653 1.9234-1.9213v-0.47646h12.014v0.47646c0 1.0648 0.85787 1.9213 1.9234 1.9213h3.3755c1.0655 0 1.9234-0.85653 1.9234-1.9213v-10.588c0-1.0648-0.85786-1.9213-1.9234-1.9213h-3.3755c-5.4826 0.0358-11.132 0.0125-15.861 0zm0.49609 2.4123h21.644v9.617h-2.3978v-2.3916h-2.0691v-0.89193h-0.74311v0.89193h-1.664v-0.89193h-0.74001v0.89193h-1.664v-0.89193h-0.74001v0.89193h-1.664v-0.89193h-0.74311v0.89193h-1.664v-0.89193h-0.74104v0.89193h-1.664v-0.89193h-0.68316v0.89193h-2.0691v2.3916h-2.3978v-3.2835z"/><ellipse cx="8.4499" cy="281.03" rx="1.7076" ry="1.7064"/><ellipse cx="18.033" cy="281.03" rx="1.7076" ry="1.7064"/></g></svg>
<svg width="50" height="50" version="1.1" viewBox="0 0 26.458 26.458"
xmlns="http://www.w3.org/2000/svg">
<g transform="translate(0,-270.54)" fill="#ffffff">
<ellipse cx="8.4499" cy="281.03" rx="1.7076" ry="1.7064" />
<ellipse cx="18.033" cy="281.03" rx="1.7076" ry="1.7064" />
<path
d="m1.9234 276.13c-1.0655 0-1.9234 0.85655-1.9234 1.9213v10.588c0 1.0648 0.85787 1.9213 1.9234 1.9213h3.3755c1.0655 0 1.9234-0.85653 1.9234-1.9213v-0.47646h12.014v0.47646c0 1.0648 0.85787 1.9213 1.9234 1.9213h3.3755c1.0655 0 1.9234-0.85653 1.9234-1.9213v-10.588c0-1.0648-0.85786-1.9213-1.9234-1.9213h-3.3755c-5.4826 0.0358-11.132 0.0125-15.861 0zm0.49609 2.4123h21.644v9.617h-2.3978v-2.3916h-2.0691v-0.89193h-0.74311v0.89193h-1.664v-0.89193h-0.74001v0.89193h-1.664v-0.89193h-0.74001v0.89193h-1.664v-0.89193h-0.74311v0.89193h-1.664v-0.89193h-0.74104v0.89193h-1.664v-0.89193h-0.68316v0.89193h-2.0691v2.3916h-2.3978v-3.2835z" />
</g>
</svg>

Before

Width:  |  Height:  |  Size: 913 B

After

Width:  |  Height:  |  Size: 969 B