Skip to content

Commit

Permalink
[Refactor] configurePhoneLayout 로직 수정, useageButton 위치 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
minsangKang committed Feb 7, 2023
1 parent 559fe0a commit 876d26d
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions Project_Timer.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -1609,7 +1609,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_ENTITLEMENTS = Project_Timer/Project_Timer.entitlements;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 3;
CURRENT_PROJECT_VERSION = 4;
DEVELOPMENT_TEAM = 2C96RNDN63;
"ENABLE_HARDENED_RUNTIME[sdk=macosx*]" = YES;
INFOPLIST_FILE = Project_Timer/Info.plist;
Expand All @@ -1635,7 +1635,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_ENTITLEMENTS = Project_Timer/Project_Timer.entitlements;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 3;
CURRENT_PROJECT_VERSION = 4;
DEVELOPMENT_TEAM = 2C96RNDN63;
"ENABLE_HARDENED_RUNTIME[sdk=macosx*]" = YES;
INFOPLIST_FILE = Project_Timer/Info.plist;
Expand Down
4 changes: 2 additions & 2 deletions Project_Timer/Base.lproj/Main.storyboard
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@
</connections>
</button>
<button hidden="YES" opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="c18-R0-zLs">
<rect key="frame" x="307" y="56.333333333333343" width="30" height="30"/>
<rect key="frame" x="304" y="56.333333333333343" width="30" height="30"/>
<constraints>
<constraint firstAttribute="width" constant="30" id="1fo-zI-1R2"/>
<constraint firstAttribute="height" constant="30" id="zgd-5Q-n6u"/>
Expand All @@ -316,7 +316,7 @@
<viewLayoutGuide key="safeArea" id="xTH-Uj-aTj"/>
<color key="backgroundColor" name="Background"/>
<constraints>
<constraint firstItem="uFb-4K-sju" firstAttribute="leading" secondItem="c18-R0-zLs" secondAttribute="trailing" constant="8" id="1DG-xV-sne"/>
<constraint firstItem="w3P-YJ-fGK" firstAttribute="leading" secondItem="c18-R0-zLs" secondAttribute="trailing" constant="8" id="1DG-xV-sne"/>
<constraint firstItem="VVW-mM-ERE" firstAttribute="leading" secondItem="xTH-Uj-aTj" secondAttribute="leading" constant="15" id="38W-vl-r57"/>
<constraint firstItem="ROV-CL-IbC" firstAttribute="centerY" secondItem="SHK-KN-mKZ" secondAttribute="centerY" id="3MO-dw-92u"/>
<constraint firstItem="IQJ-Xa-pVL" firstAttribute="leading" secondItem="bRB-wj-rJW" secondAttribute="trailing" constant="25" id="3Q9-2p-HSF"/>
Expand Down
6 changes: 3 additions & 3 deletions Project_Timer/Stopwatch/StopwatchViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -208,9 +208,9 @@ extension StopwatchViewController {

self.startStopBTTopConstraint = self.startStopBT.topAnchor.constraint(equalTo: self.outterProgress.bottomAnchor, constant: 50)
self.startStopBTTopConstraint?.isActive = true
self.colorSelector.transform = CGAffineTransform.identity
self.colorSelectorBorderView.transform = CGAffineTransform.identity
self.darkerModeButton.transform = CGAffineTransform.identity
[self.colorSelector, self.colorSelectorBorderView, self.darkerModeButton, self.useageButton].forEach { target in
target?.transform = CGAffineTransform.identity
}
self.isBiggerUI = false
}

Expand Down
6 changes: 3 additions & 3 deletions Project_Timer/Timer/TimerViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -210,9 +210,9 @@ extension TimerViewController {

self.startStopBTTopConstraint = self.startStopBT.topAnchor.constraint(equalTo: self.outterProgress.bottomAnchor, constant: 50)
self.startStopBTTopConstraint?.isActive = true
self.colorSelector.transform = CGAffineTransform.identity
self.colorSelectorBorderView.transform = CGAffineTransform.identity
self.darkerModeButton.transform = CGAffineTransform.identity
[self.colorSelector, self.colorSelectorBorderView, self.darkerModeButton, self.useageButton].forEach { target in
target?.transform = CGAffineTransform.identity
}
self.isBiggerUI = false
}

Expand Down

0 comments on commit 876d26d

Please sign in to comment.