This repository was archived by the owner on Apr 13, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +7
-19
lines changed
Applications/XXTAssistiveTouch.app Expand file tree Collapse file tree 3 files changed +7
-19
lines changed Original file line number Diff line number Diff line change @@ -1027,22 +1027,10 @@ - (void)updateViewConstraints
10271027
10281028 if (_orientation == UIInterfaceOrientationLandscapeLeft || _orientation == UIInterfaceOrientationLandscapeRight)
10291029 {
1030- if (_orientation == UIInterfaceOrientationLandscapeLeft)
1031- {
1032- [_constraints addObjectsFromArray: @[
1033- [_contentView.leadingAnchor constraintEqualToAnchor: self .view.leadingAnchor constant: 20 ],
1034- // [_contentView.trailingAnchor constraintEqualToAnchor:self.view.trailingAnchor constant:-CGRectGetMinY(layoutGuide.layoutFrame)],
1035- [_contentView.trailingAnchor constraintEqualToAnchor: self .view.trailingAnchor constant: -20 ],
1036- ]];
1037- }
1038- else
1039- {
1040- [_constraints addObjectsFromArray: @[
1041- // [_contentView.leadingAnchor constraintEqualToAnchor:self.view.leadingAnchor constant:CGRectGetMinY(layoutGuide.layoutFrame)],
1042- [_contentView.leadingAnchor constraintEqualToAnchor: self .view.leadingAnchor constant: 20 ],
1043- [_contentView.trailingAnchor constraintEqualToAnchor: self .view.trailingAnchor constant: -20 ],
1044- ]];
1045- }
1030+ [_constraints addObjectsFromArray: @[
1031+ [_contentView.leadingAnchor constraintEqualToAnchor: self .view.leadingAnchor constant: (layoutGuide.layoutFrame.origin.y > 1 ) ? 20 : 4 ],
1032+ [_contentView.trailingAnchor constraintEqualToAnchor: self .view.trailingAnchor constant: (layoutGuide.layoutFrame.origin.y > 1 ) ? -20 : -4 ],
1033+ ]];
10461034
10471035 [_constraints addObject: [_contentView.topAnchor constraintEqualToAnchor: self .view.topAnchor constant: 10 ]];
10481036 }
Original file line number Diff line number Diff line change 1111 <key >CFBundleDisplayName </key >
1212 <string >TrollSpeed </string >
1313 <key >CFBundleVersion </key >
14- <string >1.7.4 </string >
14+ <string >1.8 </string >
1515 <key >CFBundleExecutable </key >
1616 <string >XXTAssistiveTouch </string >
1717 <key >NSPrincipalClass </key >
3939 <key >NSHumanReadableCopyright </key >
4040 <string >Copyright © 2009 Apple Inc. All Rights Reserved. </string >
4141 <key >CFBundleShortVersionString </key >
42- <string >1.7.4 </string >
42+ <string >1.8 </string >
4343</dict >
4444</plist >
Original file line number Diff line number Diff line change 11Package: ch.xxtou.hud
22Name: HUD App
3- Version: 1.7.4
3+ Version: 1.8
44Section: Tweaks
55Depends: firmware (>= 13.0), mobilesubstrate (>= 0.9.7000), com.rpetrich.rocketbootstrap (>= 1.0.9)
66Architecture: iphoneos-arm
You can’t perform that action at this time.
0 commit comments