Skip to content

Commit

Permalink
fix issue sjbarag#638, allow "node" node type of "roSGNode"
Browse files Browse the repository at this point in the history
  • Loading branch information
Vasyl Martynych committed Apr 8, 2021
1 parent 8ffedfa commit e8ea91d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/brsTypes/components/ComponentFactory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import {

export enum BrsComponentName {
Node = "Node",
Node_lowerCase = "node",
Group = "Group",
LayoutGroup = "LayoutGroup",
Rectangle = "Rectangle",
Expand Down Expand Up @@ -68,6 +69,8 @@ export class ComponentFactory {
return new LayoutGroup([], name);
case BrsComponentName.Node:
return new RoSGNode([], name);
case BrsComponentName.Node_lowerCase:
return new RoSGNode([], name);
case BrsComponentName.Rectangle:
return new Rectangle([], name);
case BrsComponentName.Label:
Expand Down

0 comments on commit e8ea91d

Please sign in to comment.