Scheduler limit is only available for Intel.
This commit is contained in:
@@ -263,7 +263,7 @@ class ApplicationDelegate: NSObject, NSApplicationDelegate, NSWindowDelegate
|
||||
title = "\( n1 )% \( temp )"
|
||||
}
|
||||
else if let n = self.infoViewController?.speedLimit, n > 0,
|
||||
UserDefaults.standard.bool( forKey: "displaySchedulerLimit" )
|
||||
UserDefaults.standard.bool( forKey: "displaySchedulerLimit" )
|
||||
{
|
||||
title = "\( n )%"
|
||||
}
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="21225" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="21507" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
|
||||
<dependencies>
|
||||
<deployment identifier="macosx"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="21225"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="21507"/>
|
||||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
||||
</dependencies>
|
||||
<objects>
|
||||
@@ -17,10 +17,10 @@
|
||||
<windowStyleMask key="styleMask" titled="YES" closable="YES" miniaturizable="YES"/>
|
||||
<windowPositionMask key="initialPositionMask" leftStrut="YES" rightStrut="YES" topStrut="YES" bottomStrut="YES"/>
|
||||
<rect key="contentRect" x="196" y="240" width="700" height="297"/>
|
||||
<rect key="screenRect" x="0.0" y="0.0" width="1536" height="935"/>
|
||||
<rect key="screenRect" x="0.0" y="0.0" width="1710" height="1069"/>
|
||||
<view key="contentView" wantsLayer="YES" id="EiT-Mj-1SZ">
|
||||
<rect key="frame" x="0.0" y="0.0" width="765" height="398"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<subviews>
|
||||
<stackView distribution="fill" orientation="vertical" alignment="leading" spacing="15" horizontalStackHuggingPriority="249.99998474121094" verticalStackHuggingPriority="249.99998474121094" detachesHiddenViews="YES" translatesAutoresizingMaskIntoConstraints="NO" id="BG6-RK-yaR">
|
||||
<rect key="frame" x="20" y="20" width="339" height="358"/>
|
||||
@@ -36,12 +36,13 @@
|
||||
</connections>
|
||||
</button>
|
||||
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="228-He-qR8">
|
||||
<rect key="frame" x="-2" y="310" width="261" height="18"/>
|
||||
<buttonCell key="cell" type="check" title="Display scheduler limit in the menu bar" bezelStyle="regularSquare" imagePosition="left" state="on" inset="2" id="r2t-uh-2lL">
|
||||
<rect key="frame" x="-2" y="310" width="284" height="18"/>
|
||||
<buttonCell key="cell" type="check" title="Display the scheduler limit in the menu bar" bezelStyle="regularSquare" imagePosition="left" state="on" inset="2" id="r2t-uh-2lL">
|
||||
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
|
||||
<font key="font" metaFont="system"/>
|
||||
</buttonCell>
|
||||
<connections>
|
||||
<binding destination="-2" name="hidden" keyPath="self.isAppleSilicon" id="Mcx-o5-yFk"/>
|
||||
<binding destination="-2" name="value" keyPath="self.displaySchedulerLimit" id="kZ4-qm-Woa"/>
|
||||
</connections>
|
||||
</button>
|
||||
|
||||
Reference in New Issue
Block a user