Skip to content

Commit

Permalink
sdfgsdf
Browse files Browse the repository at this point in the history
  • Loading branch information
cranci1 committed May 24, 2024
1 parent 6f4ecb9 commit da6107b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
Binary file not shown.
6 changes: 6 additions & 0 deletions AnimeGen/Main.storyboard
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,9 @@
<stepper opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="750" verticalHuggingPriority="750" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" value="100" maximumValue="100" translatesAutoresizingMaskIntoConstraints="NO" id="4DX-53-zRn">
<rect key="frame" x="233" y="6" width="94" height="32"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<connections>
<action selector="widthStepperChanged:" destination="BaH-N7-bdh" eventType="valueChanged" id="BK0-Qa-VJU"/>
</connections>
</stepper>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" text="Image Width" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Nl0-Dj-a0c">
<rect key="frame" x="16" y="11" width="87" height="18"/>
Expand All @@ -334,6 +337,9 @@
<stepper opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="750" verticalHuggingPriority="750" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" value="60" maximumValue="100" translatesAutoresizingMaskIntoConstraints="NO" id="HxK-nZ-tZk">
<rect key="frame" x="233" y="6" width="94" height="32"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<connections>
<action selector="heightStepperChanged:" destination="BaH-N7-bdh" eventType="valueChanged" id="cZy-sB-7qG"/>
</connections>
</stepper>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" text="Image Height" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="pBd-NK-uww">
<rect key="frame" x="16" y="11" width="92" height="18"/>
Expand Down
4 changes: 2 additions & 2 deletions AnimeGen/Settings/SettingsMain.swift
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ class SettingsMain: UITableViewController {
StepperHeight.addTarget(self, action: #selector(heightStepperChanged(_:)), for: .valueChanged)
}

@objc func widthStepperChanged(_ sender: UIStepper) {
@IBAction func widthStepperChanged(_ sender: UIStepper) {
imageWidth = sender.value
}

@objc func heightStepperChanged(_ sender: UIStepper) {
@IBAction func heightStepperChanged(_ sender: UIStepper) {
imageHeight = sender.value
}

Expand Down

0 comments on commit da6107b

Please sign in to comment.