fix: expand talk overlay bounds
This commit is contained in:
@@ -20,9 +20,9 @@ final class TalkOverlayController {
|
||||
private var window: NSPanel?
|
||||
private var hostingView: NSHostingView<TalkOverlayView>?
|
||||
|
||||
private let width: CGFloat = 92
|
||||
private let height: CGFloat = 92
|
||||
private let padding: CGFloat = 8
|
||||
private let width: CGFloat = 120
|
||||
private let height: CGFloat = 120
|
||||
private let padding: CGFloat = 6
|
||||
|
||||
func present() {
|
||||
self.ensureWindow()
|
||||
|
||||
@@ -7,12 +7,12 @@ struct TalkOverlayView: View {
|
||||
var body: some View {
|
||||
ZStack(alignment: .topLeading) {
|
||||
TalkOrbView(phase: self.controller.model.phase, level: self.controller.model.level)
|
||||
.frame(width: 72, height: 72)
|
||||
.frame(width: 80, height: 80)
|
||||
.contentShape(Rectangle())
|
||||
.onTapGesture {
|
||||
TalkModeController.shared.stopSpeaking(reason: .userTap)
|
||||
}
|
||||
.padding(10)
|
||||
.padding(16)
|
||||
|
||||
Button {
|
||||
TalkModeController.shared.exitTalkMode()
|
||||
@@ -29,7 +29,7 @@ struct TalkOverlayView: View {
|
||||
.padding(4)
|
||||
.onHover { self.hovering = $0 }
|
||||
}
|
||||
.frame(width: 92, height: 92, alignment: .center)
|
||||
.frame(width: 120, height: 120, alignment: .center)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user