Remove some commented-out code.
This commit is contained in:
parent
26ae039b91
commit
68af34e397
|
@ -28,8 +28,6 @@ struct SidebarCellLayout {
|
||||||
}
|
}
|
||||||
self.faviconRect = rFavicon
|
self.faviconRect = rFavicon
|
||||||
|
|
||||||
// textField.sizeToFit()
|
|
||||||
// let textFieldSize = textField.fittingSize//frame.size
|
|
||||||
let textFieldSize = SingleLineTextFieldSizer.size(for: textField.stringValue, font: textField.font!)
|
let textFieldSize = SingleLineTextFieldSizer.size(for: textField.stringValue, font: textField.font!)
|
||||||
|
|
||||||
var rTextField = NSRect(x: 0.0, y: 0.0, width: textFieldSize.width, height: textFieldSize.height)
|
var rTextField = NSRect(x: 0.0, y: 0.0, width: textFieldSize.width, height: textFieldSize.height)
|
||||||
|
|
Loading…
Reference in New Issue