mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-15 13:14:17 +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 })))
|
&& (!_draggingAcross || (_dragDropGroup != null && group is MultiModGroup { Options.Count: >= IModGroup.MaxMultiOptions })))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
using var target = ImRaii.DragDropTarget();
|
using var target = ImUtf8.DragDropTarget();
|
||||||
if (!target.Success || !DragDropTarget.CheckPayload(_draggingAcross ? AcrossGroupsLabel : InsideGroupLabel))
|
if (!target.IsDropping(_draggingAcross ? AcrossGroupsLabel : InsideGroupLabel))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (_dragDropGroup != null && _dragDropOption != null)
|
if (_dragDropGroup != null && _dragDropOption != null)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue