-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
시간대 직접 선택 화면에서, 완료 버튼과 X 버튼이 겹치는 현상 해결 #389
Conversation
.../java/com/wafflestudio/snutt2/views/logged_in/home/search/search_option/SearchOptionSheet.kt
Outdated
Show resolved
Hide resolved
이거 언제부터 이랬지? |
...om/wafflestudio/snutt2/views/logged_in/home/search/search_option/SearchOptionCancelButton.kt
Outdated
Show resolved
Hide resolved
ㅜㅜ.... 저땐 정말 몰랐는데.... |
This reverts commit 78a79ca.
if (optionSheetMode != OptionSheetMode.TimeSelect) { | ||
closeBottomSheetPlaceable.placeRelative( | ||
tagTypePlaceable.width + tagListPlaceable.width - 52.dp.toPx().roundToInt(), | ||
(SearchOptionSheetConstants.TopMargin.toPx().roundToInt() - 32.dp.toPx().roundToInt()) / 2, | ||
) | ||
} | ||
if (baseAnimatedFloat.value != 0f) dragSheetPlaceable.placeRelative(0, 0) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
코드 구조를 이해하니 좀 더 좋은 방법을 찾아냈어
근데, L174의 반대인 optionSheetMode == OptionSheetMode.TimeSelect
랑
L180의 baseAnimatedFloat.value != 0f
랑 완벽히 동치인데,
별 이유 없으면 L180도 바꿀까...? 전자가 좀 더 의미 전달이 명확한듯 해서
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
읽기엔 이게 낫네 굿ㅋㅋ
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
주석도 있으면 금상첨화
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
주석 추가
완료!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
넘좋습니당
No description provided.