fix: lỗi alt-click drag nhân bản
This commit is contained in:
@@ -409,8 +409,8 @@
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Check for click drag clip (no Alt key required if select tool is in fallback alt-mode)
|
// Check for click drag clip (no Ctrl key required if select tool is in fallback ctrl-mode)
|
||||||
if (clickedClip && e.altKey) {
|
if (clickedClip && e.ctrlKey) {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
e.stopPropagation();
|
e.stopPropagation();
|
||||||
if (onClipDragStart) {
|
if (onClipDragStart) {
|
||||||
@@ -2789,7 +2789,7 @@
|
|||||||
<button
|
<button
|
||||||
onClick={() => { setActiveTool('select'); showToast('Công cụ chọn (Select Tool) đã kích hoạt.', 'info'); }}
|
onClick={() => { setActiveTool('select'); showToast('Công cụ chọn (Select Tool) đã kích hoạt.', 'info'); }}
|
||||||
className={`p-1 rounded transition text-xs flex items-center justify-center ${activeTool === 'select' ? 'bg-cyan-950/80 text-cyan-400 border border-cyan-800/50 font-bold' : 'text-zinc-400 hover:bg-zinc-800 border border-transparent'}`}
|
className={`p-1 rounded transition text-xs flex items-center justify-center ${activeTool === 'select' ? 'bg-cyan-950/80 text-cyan-400 border border-cyan-800/50 font-bold' : 'text-zinc-400 hover:bg-zinc-800 border border-transparent'}`}
|
||||||
title="Select Tool: Chọn khoảng, Đặt playhead (Giữ Alt kéo để di chuyển nhanh clip)"
|
title="Select Tool: Chọn khoảng, Đặt playhead (Giữ Ctrl kéo để di chuyển nhanh clip)"
|
||||||
>
|
>
|
||||||
<i data-lucide="mouse-pointer" className="w-3 h-3"></i>
|
<i data-lucide="mouse-pointer" className="w-3 h-3"></i>
|
||||||
</button>
|
</button>
|
||||||
|
|||||||
Reference in New Issue
Block a user