Skip to content

Commit

Permalink
Mask as final to leverage compiler optimizations
Browse files Browse the repository at this point in the history
  • Loading branch information
rakaramos authored and cmyr committed Nov 18, 2018
1 parent 7319751 commit dc64731
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/XiEditor/EditView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ func colorToArgb(_ color: NSColor) -> UInt32 {
return (a << 24) | (r << 16) | (g << 8) | b
}

class EditView: NSView, NSTextInputClient, TextPlaneDelegate {
final class EditView: NSView, NSTextInputClient, TextPlaneDelegate {
var scrollOrigin: NSPoint {
didSet {
if scrollOrigin != oldValue {
Expand Down

0 comments on commit dc64731

Please sign in to comment.