fix: 返回按钮点击区域向右扩展 10dp→40dp

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
dongliang
2026-05-07 16:38:47 +09:30
parent 2a06cf684c
commit 7d1172f20d

View File

@@ -97,7 +97,7 @@ class TaskListFragment : BaseFragment<FragmentTaskListBinding>() {
val rect = android.graphics.Rect()
binding.btnBack.getHitRect(rect)
rect.bottom += (20 * resources.displayMetrics.density).toInt()
rect.right += (10 * resources.displayMetrics.density).toInt()
rect.right += (40 * resources.displayMetrics.density).toInt()
parent.touchDelegate = android.view.TouchDelegate(rect, binding.btnBack)
}