fix: animate overlay resizing on updates
parent
367526f750
commit
1c5170b759
|
|
@ -35,6 +35,7 @@ final class VoiceWakeOverlayController: ObservableObject {
|
||||||
self.model.isSending = false
|
self.model.isSending = false
|
||||||
self.model.attributed = attributed ?? NSAttributedString(string: transcript)
|
self.model.attributed = attributed ?? NSAttributedString(string: transcript)
|
||||||
self.present()
|
self.present()
|
||||||
|
self.updateWindowFrame(animate: true)
|
||||||
}
|
}
|
||||||
|
|
||||||
func presentFinal(transcript: String, forwardConfig: VoiceWakeForwardConfig, delay: TimeInterval, attributed: NSAttributedString? = nil) {
|
func presentFinal(transcript: String, forwardConfig: VoiceWakeForwardConfig, delay: TimeInterval, attributed: NSAttributedString? = nil) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue