summaryrefslogtreecommitdiffstats
path: root/video/out/mac/common.swift
diff options
context:
space:
mode:
authorCœur <coeur@gmx.fr>2022-04-25 19:27:18 +0800
committerLeo Izen <leo.izen@gmail.com>2022-04-25 09:07:18 -0400
commitbb5b4b1ba61b67da40c85c34376aced9383fc366 (patch)
treeb917b0ad45f31c1187c47424de4159cc28aa730f /video/out/mac/common.swift
parent6407095871b8f177996a6ec3ee9a8c4f06bd63ee (diff)
downloadmpv-bb5b4b1ba61b67da40c85c34376aced9383fc366.tar.bz2
mpv-bb5b4b1ba61b67da40c85c34376aced9383fc366.tar.xz
various: fix typos
Diffstat (limited to 'video/out/mac/common.swift')
-rw-r--r--video/out/mac/common.swift8
1 files changed, 4 insertions, 4 deletions
diff --git a/video/out/mac/common.swift b/video/out/mac/common.swift
index 6289c6bf6a..5a48ccef7b 100644
--- a/video/out/mac/common.swift
+++ b/video/out/mac/common.swift
@@ -152,7 +152,7 @@ class Common: NSObject {
}
func uninitCommon() {
- setCursorVisiblility(true)
+ setCursorVisibility(true)
stopDisplaylink()
uninitLightSensor()
removeDisplayReconfigureObserver()
@@ -388,10 +388,10 @@ class Common: NSObject {
}
func updateCursorVisibility() {
- setCursorVisiblility(cursorVisibilityWanted)
+ setCursorVisibility(cursorVisibilityWanted)
}
- func setCursorVisiblility(_ visible: Bool) {
+ func setCursorVisibility(_ visible: Bool) {
NSCursor.setHiddenUntilMouseMoves(!visible && (view?.canHideCursor() ?? false))
}
@@ -593,7 +593,7 @@ class Common: NSObject {
let cursorVisibility = data.assumingMemoryBound(to: CBool.self)
cursorVisibilityWanted = cursorVisibility.pointee
DispatchQueue.main.async {
- self.setCursorVisiblility(self.cursorVisibilityWanted)
+ self.setCursorVisibility(self.cursorVisibilityWanted)
}
return VO_TRUE
case VOCTRL_GET_ICC_PROFILE: