Parcourir la source

Align panel menu icon with quick actions

Made-with: Cursor
huzaifahayat12 il y a 3 mois
Parent
commit
48e0e39d6f
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 2 0
      google_apps/LauncherRootView.swift

+ 2 - 0
google_apps/LauncherRootView.swift

@@ -733,6 +733,8 @@ private struct PanelAppRowView: View {
                 .menuStyle(.borderlessButton)
                 .modifier(HideMenuIndicatorIfAvailable())
                 .padding(8)
+                // Match the quick-action icon row vertical alignment.
+                .offset(y: shouldShowQuickActions ? 18 : 0)
                 .opacity(isHovering ? 1 : 0.0)
                 .animation(.easeOut(duration: 0.12), value: isHovering)
             }