mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-17 13:01:41 +00:00
Only select a group first in editor mode.
This commit is contained in:
parent
b524c9fec1
commit
01cdcaa480
1 changed files with 9 additions and 6 deletions
|
@ -2407,6 +2407,8 @@ namespace NLGUI
|
||||||
// must not capture a new element if a sheet is currentlty being dragged.
|
// must not capture a new element if a sheet is currentlty being dragged.
|
||||||
// This may happen when alt-tab has been used => the sheet is dragged but the left button is up
|
// This may happen when alt-tab has been used => the sheet is dragged but the left button is up
|
||||||
if (!CCtrlDraggable::getDraggedSheet())
|
if (!CCtrlDraggable::getDraggedSheet())
|
||||||
|
{
|
||||||
|
if( CInterfaceElement::getEditorMode() )
|
||||||
{
|
{
|
||||||
for( sint32 i = _GroupsUnderPointer.size() - 1; i >= 0; i-- )
|
for( sint32 i = _GroupsUnderPointer.size() - 1; i >= 0; i-- )
|
||||||
{
|
{
|
||||||
|
@ -2418,6 +2420,7 @@ namespace NLGUI
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if( !captured )
|
if( !captured )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue