UPD: Use Command+Drag&Drop to move under macOS (fixes #1536)

This commit is contained in:
Alexander Koblov 2024-03-29 20:41:54 +03:00
commit b80b584700

View file

@ -392,16 +392,16 @@ const
begin
if (ssBoth * ShiftState = ssBoth) then
Exit(DropMoveEffect);
ShiftState := [ssCtrl, ssShift, ssAlt] * ShiftState;
ShiftState := [ssModifier, ssShift, ssAlt] * ShiftState;
if ShiftState = [] then
Result := DropCopyEffect // default to Copy when no keys pressed
else if ShiftState = [ssShift] then
Result := DropMoveEffect
else if ShiftState = [ssCtrl] then
else if ShiftState = [ssModifier] then
Result := DropMoveEffect
else if ShiftState = [ssAlt] then
Result := DropAskEffect
else if ShiftState = [ssCtrl, ssShift] then
else if ShiftState = [ssModifier, ssShift] then
Result := DropLinkEffect
else
Result := DropNoEffect; // some other key combination pressed