mirror of
https://github.com/qinyuhang/ShadowsocksX-NG-R.git
synced 2026-10-21 06:54:41 +00:00
update build for Xcode9
This commit is contained in:
@@ -56,7 +56,7 @@ open class StatusItemView: NSControl {
|
||||
let downRateRect = downRateString.boundingRect(with: NSSize(width: 100, height: 100), options: .usesLineFragmentOrigin)
|
||||
downRateString.draw(at: NSMakePoint(bounds.width - downRateRect.width - 5, 0))
|
||||
}
|
||||
image?.draw(at: NSPoint(x: 0, y: 0), from: NSRect(x: 0, y: 0, width: bounds.height, height: bounds.height), operation: NSCompositeSourceOver, fraction: 1.0)
|
||||
image?.draw(at: NSPoint(x: 0, y: 0), from: NSRect(x: 0, y: 0, width: bounds.height, height: bounds.height), operation: NSCompositingOperation.sourceOver, fraction: 1.0)
|
||||
}
|
||||
|
||||
open func setRateData(up:Float, down: Float) {
|
||||
|
||||
Reference in New Issue
Block a user