Allow details to be child of room
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
This commit is contained in:
parent
c7ba472042
commit
c7fd0fac07
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ function allowsChild(parent, child) {
|
|||
// downside of the approach: both of these will control which tile is selected
|
||||
return type === "room" || type === "empty-grid-tile";
|
||||
case "room":
|
||||
return type === "lightbox";
|
||||
return type === "lightbox" || type === "details";
|
||||
default:
|
||||
return false;
|
||||
}
|
||||
|
|
Reference in a new issue