Finish locking items in location. Can no longer move them if they are locked.
This commit is contained in:
@ -575,7 +575,7 @@ namespace EduNetworkBuilder
|
||||
if (tItem is NetworkDevice)
|
||||
{
|
||||
tDevice = (NetworkDevice)tItem;
|
||||
if (tDevice.GetNetType() == NetworkComponentType.tree) continue; //Cannot select trees
|
||||
if (tDevice.IsLockedInLocation()) continue; //some items cannot be moved
|
||||
int tsize = tDevice.Size;
|
||||
tPoint = tDevice.myLocation();
|
||||
if (tPoint.X + tsize >= area.X && tPoint.Y +tsize >= area.Y)
|
||||
|
Reference in New Issue
Block a user