Skip to content

Commit 6e8b7a1

Browse files
committed
fix: rounded를 통해 과도한 수치 변화를 줄인다
1 parent d86d33e commit 6e8b7a1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

DevLog/UI/Home/TodoListView.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -303,10 +303,10 @@ struct TodoListView: View {
303303
GeometryReader { geometry in
304304
Color.clear
305305
.onAppear {
306-
headerHeight = geometry.size.height + 1
306+
headerHeight = geometry.size.height.rounded()
307307
}
308308
.onChange(of: geometry.size.height) { _, height in
309-
headerHeight = height + 1
309+
headerHeight = height.rounded()
310310
}
311311
}
312312
}

0 commit comments

Comments
 (0)