summaryrefslogtreecommitdiff
path: root/src/game/editor/editor2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/editor/editor2.cpp')
-rw-r--r--src/game/editor/editor2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/editor/editor2.cpp b/src/game/editor/editor2.cpp
index d1def3811..6cc642ba9 100644
--- a/src/game/editor/editor2.cpp
+++ b/src/game/editor/editor2.cpp
@@ -1664,7 +1664,7 @@ void CEditor2::RenderMapEditorUiLayerGroups(CUIRect NavRect)
bool StartedMouseDragging = s_DragMove.m_IsDragging && OldIsMouseDragging == false;
bool DisplayDragMoveOverlay = s_DragMove.m_IsDragging && (DragMoveGroupListIndex >= 0 || DragMoveLayerListIndex >= 0);
- CUIRect DragMoveOverlayRect;
+ CUIRect DragMoveOverlayRect = NavRect;
int DragMoveOffset = 0;
int DragMoveGroupIdOffset = 0; // for group dragging
// -----------------------