Skip to content

Commit

Permalink
Merge pull request #10 from PhorionTech/minor-updates
Browse files Browse the repository at this point in the history
Minor updates
  • Loading branch information
rookuu authored Nov 21, 2023
2 parents b9c5c11 + b47c4d5 commit 80a3c32
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
4 changes: 2 additions & 2 deletions TCCKronos/MainUserInterface/ApplicationUsage.xib
Original file line number Diff line number Diff line change
Expand Up @@ -233,9 +233,9 @@
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
</progressIndicator>
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="Bs9-oS-4jN">
<rect key="frame" x="21" y="20" width="141" height="16"/>
<rect key="frame" x="40" y="20" width="104" height="16"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<textFieldCell key="cell" lineBreakMode="clipping" title="Loading applications..." id="kAb-c9-4QC">
<textFieldCell key="cell" lineBreakMode="clipping" title="Loading usage..." id="kAb-c9-4QC">
<font key="font" usesAppearanceFont="YES"/>
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
Expand Down
8 changes: 4 additions & 4 deletions TCCKronos/MainUserInterface/KronosUI.xib
Original file line number Diff line number Diff line change
Expand Up @@ -142,14 +142,14 @@
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<scrollView fixedFrame="YES" autohidesScrollers="YES" horizontalLineScroll="50" horizontalPageScroll="10" verticalLineScroll="50" verticalPageScroll="10" usesPredominantAxisScrolling="NO" translatesAutoresizingMaskIntoConstraints="NO" id="2PP-YK-4LM">
<rect key="frame" x="0.0" y="27" width="738" height="334"/>
<rect key="frame" x="0.0" y="0.0" width="738" height="361"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<clipView key="contentView" drawsBackground="NO" id="JWp-k8-ib2">
<rect key="frame" x="1" y="1" width="736" height="332"/>
<rect key="frame" x="1" y="1" width="736" height="359"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<outlineView verticalHuggingPriority="750" allowsExpansionToolTips="YES" columnAutoresizingStyle="lastColumnOnly" columnReordering="NO" columnResizing="NO" multipleSelection="NO" autosaveColumns="NO" rowHeight="50" rowSizeStyle="automatic" viewBased="YES" indentationPerLevel="13" outlineTableColumn="YKj-Xr-Dqt" id="zz5-bK-r6g">
<rect key="frame" x="0.0" y="0.0" width="736" height="332"/>
<rect key="frame" x="0.0" y="0.0" width="736" height="359"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<size key="intercellSpacing" width="17" height="0.0"/>
<color key="backgroundColor" name="WindowBackground"/>
Expand Down Expand Up @@ -302,7 +302,7 @@
<nil key="backgroundColor"/>
</clipView>
<scroller key="horizontalScroller" hidden="YES" wantsLayer="YES" verticalHuggingPriority="750" horizontal="YES" id="1Wn-ZQ-FhE">
<rect key="frame" x="1" y="346" width="736" height="16"/>
<rect key="frame" x="1" y="317" width="736" height="16"/>
<autoresizingMask key="autoresizingMask"/>
</scroller>
<scroller key="verticalScroller" hidden="YES" wantsLayer="YES" verticalHuggingPriority="750" horizontal="NO" id="faI-ia-zSy">
Expand Down
2 changes: 0 additions & 2 deletions TCCKronos/MainUserInterface/KronosUIController.m
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,8 @@ - (void)windowDidLoad {
[_loadingSpinnerView setMaterial:NSVisualEffectMaterialSidebar];


//wait a bit, then set activation policy
dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0),
^{
//on main thread
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (0.5 * NSEC_PER_SEC)), dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^{
[self sortTCCPermissions];

Expand Down

0 comments on commit 80a3c32

Please sign in to comment.