ux: move home to the left

This commit is contained in:
2026-07-30 00:13:48 +02:00
parent c476f9d058
commit aeeca62daa
+5 -5
View File
@@ -1072,7 +1072,7 @@ final class ViewController: UIViewController, UIGestureRecognizerDelegate {
self, action: #selector(goHome), for: .touchDown
)
NSLayoutConstraint.activate([
homeButton.trailingAnchor.constraint(equalTo: topBarView.trailingAnchor, constant: -32),
homeButton.leadingAnchor.constraint(equalTo: topBarView.leadingAnchor, constant: 32),
homeButton.centerYAnchor.constraint(equalTo: topBarView.centerYAnchor),
homeButton.topAnchor.constraint(equalTo: topBarView.topAnchor),
homeButton.bottomAnchor.constraint(equalTo: topBarView.bottomAnchor),
@@ -1133,8 +1133,8 @@ final class ViewController: UIViewController, UIGestureRecognizerDelegate {
}
NSLayoutConstraint.activate([
backgroundColorDropdownButton.leadingAnchor.constraint(
equalTo: topBarView.leadingAnchor, constant: 32
backgroundColorDropdownButton.trailingAnchor.constraint(
equalTo: topBarView.trailingAnchor, constant: -32
),
backgroundColorDropdownButton.centerYAnchor.constraint(
equalTo: topBarView.centerYAnchor
@@ -1207,8 +1207,8 @@ final class ViewController: UIViewController, UIGestureRecognizerDelegate {
}
NSLayoutConstraint.activate([
pageTurnDropdownButton.leadingAnchor.constraint(
equalTo: backgroundColorDropdownButton.trailingAnchor, constant: 32
pageTurnDropdownButton.trailingAnchor.constraint(
equalTo: backgroundColorDropdownButton.leadingAnchor, constant: -32
),
pageTurnDropdownButton.centerYAnchor.constraint(
equalTo: topBarView.centerYAnchor