mirror of
https://github.com/yattee/yattee.git
synced 2025-08-09 20:24:06 +00:00
chore: address linter warnings
Signed-off-by: Toni Förster <toni.foerster@gmail.com>
This commit is contained in:
@@ -281,7 +281,7 @@ struct VideoPlayerView: View {
|
||||
}
|
||||
.gesture(player.controls.presentingOverlays ? nil : playerDragGesture)
|
||||
#if os(macOS)
|
||||
.onAppear(perform: {
|
||||
.onAppear {
|
||||
NSEvent.addLocalMonitorForEvents(matching: [.mouseMoved]) {
|
||||
hoverThrottle.execute {
|
||||
if !player.currentItem.isNil, hoveringPlayer {
|
||||
@@ -291,7 +291,7 @@ struct VideoPlayerView: View {
|
||||
|
||||
return $0
|
||||
}
|
||||
})
|
||||
}
|
||||
#endif
|
||||
|
||||
.background(Color.black)
|
||||
|
Reference in New Issue
Block a user