Two gigaseconds #147

Merged
JanX2 merged 30 commits from two-gigaseconds into master 2021-05-06 22:50:26 -04:00
2 changed files with 1 additions and 7 deletions
Showing only changes of commit 22dc76c159 - Show all commits

View file

@ -414,7 +414,7 @@
<textField key="view" verticalHuggingPriority="750" id="1566" customClass="TimeField"> <textField key="view" verticalHuggingPriority="750" id="1566" customClass="TimeField">
<rect key="frame" x="8" y="14" width="61" height="22"/> <rect key="frame" x="8" y="14" width="61" height="22"/>
<autoresizingMask key="autoresizingMask"/> <autoresizingMask key="autoresizingMask"/>
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" borderStyle="bezel" alignment="center" title="0:00" usesSingleLineMode="YES" bezelStyle="round" id="1567"> <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" borderStyle="bezel" alignment="center" title="0:00" usesSingleLineMode="YES" bezelStyle="round" id="1567" customClass="MonospacedDigitTextFieldCell">
<font key="font" metaFont="system"/> <font key="font" metaFont="system"/>
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/> <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/> <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>

View file

@ -66,12 +66,6 @@ NSString * timeStringForTimeInterval(NSTimeInterval timeInterval, BOOL enforceMi
- (void)awakeFromNib - (void)awakeFromNib
{ {
showTimeRemaining = [[NSUserDefaults standardUserDefaults] boolForKey:kTimerModeKey]; showTimeRemaining = [[NSUserDefaults standardUserDefaults] boolForKey:kTimerModeKey];
if (@available(macOS 10.11, *)) {
fontAttributes =
@{NSFontAttributeName : [NSFont monospacedDigitSystemFontOfSize:13
weight:NSFontWeightRegular]};
[self update];
}
} }
- (void)update - (void)update