사용자 정보 표시 관리 팝업 완료

This commit is contained in:
logonkhi
2025-08-01 13:30:58 +09:00
parent 23da311db0
commit 22794651f2
16 changed files with 226 additions and 59 deletions

View File

@@ -123,7 +123,7 @@ namespace UVC.UI.List.Draggable
// 구독자들에게 드래그 종료를 알립니다
OnDragEnded?.Invoke(eventData);
Debug.Log($"[DragBehavior] 드래그 종료 - 아이템: {dragTarget.name}");
//Debug.Log($"[DragBehavior] 드래그 종료 - 아이템: {dragTarget.name}");
}
/// <summary>
@@ -135,7 +135,7 @@ namespace UVC.UI.List.Draggable
originalIndex = dragTarget.GetSiblingIndex();
originalPosition = dragTarget.position;
Debug.Log($"[DragBehavior] 위치 정보 업데이트 - 새 인덱스: {originalIndex}");
//Debug.Log($"[DragBehavior] 위치 정보 업데이트 - 새 인덱스: {originalIndex}");
}
/// <summary>

View File

@@ -141,7 +141,7 @@ namespace UVC.UI.List.Draggable
if (reorderHandler == null)
{
reorderHandler = content.gameObject.AddComponent<ListReorderHandler>();
Debug.Log("[DraggableList] ListReorderHandler를 자동으로 추가했습니다.");
//Debug.Log("[DraggableList] ListReorderHandler를 자동으로 추가했습니다.");
}
// ScrollRectHandler 추가 또는 가져오기
@@ -152,7 +152,7 @@ namespace UVC.UI.List.Draggable
if (scrollHandler == null)
{
scrollHandler = scrollRect.gameObject.AddComponent<ScrollRectHandler>();
Debug.Log("[DraggableList] ScrollRectHandler를 자동으로 추가했습니다.");
//Debug.Log("[DraggableList] ScrollRectHandler를 자동으로 추가했습니다.");
}
}
@@ -249,6 +249,7 @@ namespace UVC.UI.List.Draggable
var item = dataList[oldIndex];
dataList.RemoveAt(oldIndex);
dataList.Insert(newIndex, item);
Debug.Log($"[DraggableList] 순서 변경: {oldIndex} -> {newIndex}");
// 이벤트 발생
OnOrderChanged?.Invoke((item as ListItemData)!, oldIndex, newIndex);
@@ -259,7 +260,6 @@ namespace UVC.UI.List.Draggable
// SaveOrder();
//}
Debug.Log($"[DraggableList] 순서 변경: {oldIndex} -> {newIndex}");
}
}
@@ -269,7 +269,7 @@ namespace UVC.UI.List.Draggable
private void HandleItemClick(object data)
{
OnItemClicked?.Invoke((data as ListItemData)!);
Debug.Log($"[DraggableList] 아이템 클릭: {(data as ListItemData)?.DisplayName}");
//Debug.Log($"[DraggableList] 아이템 클릭: {(data as ListItemData)?.DisplayName}");
}
/// <summary>

View File

@@ -135,7 +135,7 @@ namespace UVC.UI.List.Draggable
/// </summary>
private void HandleDragEnd(PointerEventData eventData)
{
Debug.Log($"[ListItemController] 드래그 종료 처리 - {gameObject.name}");
//Debug.Log($"[ListItemController] 드래그 종료 처리 - {gameObject.name}");
// 1. 아이템을 원래 투명도로 복원합니다
if (canvasGroup != null)

View File

@@ -48,7 +48,7 @@ namespace UVC.UI.List.Draggable
boundData = data;
UpdateUI();
Debug.Log($"[ListItemView] 데이터 바인딩 완료 - {gameObject.name}");
//Debug.Log($"[ListItemView] 데이터 바인딩 완료 - {gameObject.name}");
}
/// <summary>

View File

@@ -76,7 +76,7 @@ namespace UVC.UI.List.Draggable
// 마우스 위치에서 가장 가까운 인덱스를 계산합니다
int targetIndex = CalculateTargetIndex(position);
Debug.Log($"[ListReorderHandler] 드래그 위치 업데이트 - 타겟 인덱스: {targetIndex}");
//Debug.Log($"[ListReorderHandler] 드래그 위치 업데이트 - 타겟 인덱스: {targetIndex}");
if (targetIndex >= 0)
{
// 현재 플레이스홀더의 인덱스와 다를 때만 이동
@@ -116,7 +116,7 @@ namespace UVC.UI.List.Draggable
if (item.OriginalIndex != newIndex)
{
OnOrderChanged?.Invoke(item.OriginalIndex, newIndex);
Debug.Log($"[ListReorderHandler] 순서 변경됨: {item.OriginalIndex} -> {newIndex}");
//Debug.Log($"[ListReorderHandler] 순서 변경됨: {item.OriginalIndex} -> {newIndex}");
}
}
else

View File

@@ -73,7 +73,7 @@ namespace UVC.UI.List.Draggable
if (autoScrollCoroutine == null)
{
autoScrollCoroutine = StartCoroutine(AutoScrollRoutine());
Debug.Log("[ScrollRectHandler] 자동 스크롤 시작");
//Debug.Log("[ScrollRectHandler] 자동 스크롤 시작");
}
}
else
@@ -86,7 +86,7 @@ namespace UVC.UI.List.Draggable
{
StopCoroutine(autoScrollCoroutine);
autoScrollCoroutine = null;
Debug.Log("[ScrollRectHandler] 자동 스크롤 중지");
//Debug.Log("[ScrollRectHandler] 자동 스크롤 중지");
}
}
}
@@ -123,7 +123,7 @@ namespace UVC.UI.List.Draggable
float normalizedDistance = (topY - mouseY) / scrollZoneHeight;
scrollDelta = scrollSpeed * (1f - normalizedDistance) * Time.deltaTime;
Debug.Log($"[ScrollRectHandler] 위로 스크롤 중... 속도: {scrollDelta}");
//Debug.Log($"[ScrollRectHandler] 위로 스크롤 중... 속도: {scrollDelta}");
}
// 마우스가 아래쪽 가장자리 근처에 있으면 아래로 스크롤
else if (mouseY < bottomY + scrollZoneHeight && mouseY >= bottomY)
@@ -132,7 +132,7 @@ namespace UVC.UI.List.Draggable
float normalizedDistance = (mouseY - bottomY) / scrollZoneHeight;
scrollDelta = -scrollSpeed * (1f - normalizedDistance) * Time.deltaTime;
Debug.Log($"[ScrollRectHandler] 아래로 스크롤 중... 속도: {scrollDelta}");
//Debug.Log($"[ScrollRectHandler] 아래로 스크롤 중... 속도: {scrollDelta}");
}
// 스크롤 적용