feat: [esign] Shift+클릭으로 필드 다중 선택/해제 토글 기능 추가
This commit is contained in:
@@ -557,7 +557,7 @@ className="text-gray-300 hover:text-red-500 flex-shrink-0 ml-1">×</button>
|
||||
|
||||
// 필드 선택 헬퍼
|
||||
const selectField = useCallback((idx, e) => {
|
||||
if (e && (e.ctrlKey || e.metaKey)) {
|
||||
if (e && (e.ctrlKey || e.metaKey || e.shiftKey)) {
|
||||
setSelectedIndices(prev => {
|
||||
const next = new Set(prev);
|
||||
if (next.has(idx)) {
|
||||
@@ -827,7 +827,7 @@ className="text-gray-300 hover:text-red-500 flex-shrink-0 ml-1">×</button>
|
||||
const y = ((e.clientY - rect.top) / rect.height) * 100;
|
||||
setLassoStart({ x, y });
|
||||
setLassoEnd({ x, y });
|
||||
if (!(e.ctrlKey || e.metaKey)) {
|
||||
if (!(e.ctrlKey || e.metaKey || e.shiftKey)) {
|
||||
clearSelection();
|
||||
}
|
||||
}, [clearSelection]);
|
||||
|
||||
Reference in New Issue
Block a user