Skip to content

Commit b1348b8

Browse files
committed
Adjust indicator position
1 parent 1d5aac7 commit b1348b8

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Core/Sources/Service/RealtimeSuggestionController.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ final class RealtimeSuggestionIndicatorController {
172172
struct IndicatorContentView: View {
173173
@ObservedObject var viewModel: IndicatorContentViewModel
174174
@State var progress: CGFloat = 1
175-
var opacityA: CGFloat { progress }
175+
var opacityA: CGFloat { min(progress, 0.7) }
176176
var opacityB: CGFloat { 1 - progress }
177177
var scaleA: CGFloat { progress / 2 + 0.5 }
178178
var scaleB: CGFloat { max(1 - progress, 0.01) }
@@ -334,8 +334,8 @@ final class RealtimeSuggestionIndicatorController {
334334
let screen = NSScreen.screens.first
335335
if found, let screen {
336336
frame.origin = .init(
337-
x: frame.maxX + 5,
338-
y: screen.frame.height - frame.minY - 12
337+
x: frame.maxX + 2,
338+
y: screen.frame.height - frame.minY - 4
339339
)
340340
frame.size = .init(width: 10, height: 10)
341341
window.setFrame(frame, display: false)

0 commit comments

Comments
 (0)