Update mini recorder animation

This commit is contained in:
Beingpax 2025-08-07 00:53:55 +05:45
parent cdd1783a4c
commit d23d54e208

View File

@ -49,8 +49,8 @@ struct MiniRecorderView: View {
if windowManager.isExpanded {
// Left button zone - only exists when expanded
RecorderPromptButton(showPopover: $showEnhancementPromptPopover)
.padding(.leading, 6)
.transition(.scale(scale: 0.5).combined(with: .opacity))
.animation(.easeInOut(duration: 0.25), value: windowManager.isExpanded)
Spacer()
}
@ -64,8 +64,8 @@ struct MiniRecorderView: View {
// Right button zone - only exists when expanded
RecorderPowerModeButton(showPopover: $showPowerModePopover)
.padding(.trailing, 6)
.transition(.scale(scale: 0.5).combined(with: .opacity))
.animation(.easeInOut(duration: 0.25), value: windowManager.isExpanded)
}
}
.padding(.vertical, 8)