Commit d663a1ce authored by François Trahay's avatar François Trahay
Browse files

fix the rendering of variables

parent f9e01086
...@@ -490,9 +490,11 @@ public: ...@@ -490,9 +490,11 @@ public:
if(is_in_set(*c,set_container)){ if(is_in_set(*c,set_container)){
container = *c; container = *c;
position = (int)_container_positions[container]; position = (int)_container_positions[container] + _container_sizes[container];
if ((container->get_states()!=NULL && !container->get_states()->empty()) ||(container->get_events()!=NULL && !container->get_events()->empty())) if ((container->get_states()!=NULL && !container->get_states()->empty()) ||
(container->get_events()!=NULL && !container->get_events()->empty()))
position++; position++;
// Browse variables // Browse variables
variable_map = container->get_variables(); variable_map = container->get_variables();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment