Skip to content

Commit 76a649d

Browse files
committed
[AppKit] Fix incorrect rawValue for NSEvent.SpecialKey.deleteForward
Update the rawValue to match NSDeleteFunctionKey.
1 parent 38fdb33 commit 76a649d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/public/Darwin/AppKit/NSEvent.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ extension NSEvent.SpecialKey {
116116
static public let f34 = NSEvent.SpecialKey(rawValue: 0xF725)
117117
static public let f35 = NSEvent.SpecialKey(rawValue: 0xF726)
118118
static public let insert = NSEvent.SpecialKey(rawValue: 0xF727)
119-
static public let deleteForward = NSEvent.SpecialKey(rawValue: 0xF7028)
119+
static public let deleteForward = NSEvent.SpecialKey(rawValue: 0xF728)
120120
static public let home = NSEvent.SpecialKey(rawValue: 0xF729)
121121
static public let begin = NSEvent.SpecialKey(rawValue: 0xF72A)
122122
static public let end = NSEvent.SpecialKey(rawValue: 0xF72B)

0 commit comments

Comments
 (0)