Skip to content

Commit

Permalink
Added more sheet symbols to assets so they display on versios before …
Browse files Browse the repository at this point in the history
…Big Sur
  • Loading branch information
noah-nuebling committed Mar 3, 2021
1 parent baa1bfa commit 8314a47
Show file tree
Hide file tree
Showing 10 changed files with 527 additions and 8 deletions.
10 changes: 5 additions & 5 deletions App/MoreSheet/MoreSheet.xib
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<windowStyleMask key="styleMask" titled="YES"/>
<windowPositionMask key="initialPositionMask" leftStrut="YES" rightStrut="YES" topStrut="YES" bottomStrut="YES"/>
<rect key="contentRect" x="90" y="125" width="576" height="184"/>
<rect key="screenRect" x="0.0" y="0.0" width="2560" height="1415"/>
<rect key="screenRect" x="0.0" y="0.0" width="3840" height="2135"/>
<view key="contentView" wantsLayer="YES" id="IZI-tD-pBD">
<rect key="frame" x="0.0" y="0.0" width="576" height="184"/>
<autoresizingMask key="autoresizingMask"/>
Expand Down Expand Up @@ -164,15 +164,15 @@ Turn this off and on again if you skipped an update and have changed your mind</
</userDefinedRuntimeAttributes>
</imageView>
<imageView horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="07Z-7Y-gHB">
<rect key="frame" x="527" y="144" width="19.5" height="25"/>
<rect key="frame" x="527" y="144" width="20" height="25"/>
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMinY="YES"/>
<imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="proportionallyDown" id="Rki-3y-WxT">
<imageReference key="image" image="pencil" catalog="system" symbolScale="large"/>
</imageCell>
<color key="contentTintColor" name="linkColor" catalog="System" colorSpace="catalog"/>
</imageView>
<imageView horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="N67-Qg-9hZ">
<rect key="frame" x="527" y="94.5" width="19" height="27"/>
<rect key="frame" x="527" y="95" width="19" height="27"/>
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMinY="YES"/>
<imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="proportionallyDown" image="arrow.triangle.branch" catalog="system" id="61r-1i-7uY"/>
<color key="contentTintColor" name="linkColor" catalog="System" colorSpace="catalog"/>
Expand Down Expand Up @@ -209,8 +209,8 @@ AAAAAAAAAAAAAAABOQ
<image name="AppIconRound" width="128" height="128"/>
<image name="MilkshakeButton" width="185" height="27"/>
<image name="PayPal" width="100" height="26"/>
<image name="arrow.triangle.branch" catalog="system" width="15" height="14"/>
<image name="pencil" catalog="system" width="17" height="16"/>
<image name="arrow.triangle.branch" catalog="system" width="16" height="14"/>
<image name="pencil" catalog="system" width="16" height="16"/>
<image name="safari" catalog="system" width="15" height="15"/>
</resources>
</document>
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"info" : {
"author" : "xcode",
"version" : 1
},
"symbols" : [
{
"filename" : "arrow.triangle.branch.svg",
"idiom" : "universal"
}
]
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 12 additions & 0 deletions App/Resources/Assets.xcassets/pencil.symbolset/Contents.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"info" : {
"author" : "xcode",
"version" : 1
},
"symbols" : [
{
"filename" : "pencil.svg",
"idiom" : "universal"
}
]
}
161 changes: 161 additions & 0 deletions App/Resources/Assets.xcassets/pencil.symbolset/pencil.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 12 additions & 0 deletions App/Resources/Assets.xcassets/safari.symbolset/Contents.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"info" : {
"author" : "xcode",
"version" : 1
},
"symbols" : [
{
"filename" : "network.svg",
"idiom" : "universal"
}
]
}
161 changes: 161 additions & 0 deletions App/Resources/Assets.xcassets/safari.symbolset/network.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion App/SupportFiles/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<key>CFBundleShortVersionString</key>
<string>$(MARKETING_VERSION)</string>
<key>CFBundleVersion</key>
<string>2304</string>
<string>2309</string>
<key>NSHumanReadableCopyright</key>
<string>Copyright © 2019 Noah Nuebling (MIT License)</string>
<key>NSMainNibFile</key>
Expand Down
2 changes: 1 addition & 1 deletion Helper/Pointer/PointerSpeed.m
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ + (void)setSensitivityTo:(int)sens device:(IOHIDDeviceRef)dev {
int sens = 450; // 400 is default
int newPointerRes = IntToFixed(sens);
CFNumberRef newPointerRefCF = CFNumberCreate(kCFAllocatorDefault, kCFNumberSInt32Type, &newPointerRes);
kern_return_t kr = IORegistryEntrySetCFProperty(matchingService, CFSTR("HIDPointerResolution"), newPointerRefCF); // doesn't work
// kern_return_t kr = IORegistryEntrySetCFProperty(matchingService, CFSTR("HIDPointerResolution"), newPointerRefCF); // doesn't work

// --

Expand Down
2 changes: 1 addition & 1 deletion Mouse Fix.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -631,11 +631,11 @@
4FCECD7721092354001F1078 = {
isa = PBXGroup;
children = (
4F1793A725EEC8E500E8309B /* Frameworks */,
4FA4DBDA25E6231E00EC9259 /* Shared */,
4F94F5EF25E5EC2500D9F24A /* App */,
4FCECD8221092354001F1078 /* Helper */,
4F2FDF312315662500C7BE14 /* Accomplice */,
4F1793A725EEC8E500E8309B /* Frameworks */,
4FA1ACE025E85904007DB95B /* Tests */,
4FCECD8121092354001F1078 /* Products */,
4F32E197231C5B5100199A11 /* Frameworks */,
Expand Down

0 comments on commit 8314a47

Please sign in to comment.