mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-12 18:27:24 +01:00
Small cleanup.
This commit is contained in:
parent
b2e1bff782
commit
81fdbf6ccf
1 changed files with 2 additions and 2 deletions
|
|
@ -321,8 +321,8 @@ public sealed class ModGroupEditDrawer(
|
|||
&& (!_draggingAcross || (_dragDropGroup != null && group is MultiModGroup { Options.Count: >= IModGroup.MaxMultiOptions })))
|
||||
return;
|
||||
|
||||
using var target = ImRaii.DragDropTarget();
|
||||
if (!target.Success || !DragDropTarget.CheckPayload(_draggingAcross ? AcrossGroupsLabel : InsideGroupLabel))
|
||||
using var target = ImUtf8.DragDropTarget();
|
||||
if (!target.IsDropping(_draggingAcross ? AcrossGroupsLabel : InsideGroupLabel))
|
||||
return;
|
||||
|
||||
if (_dragDropGroup != null && _dragDropOption != null)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue