uncharted-aske / HMI

Apache License 2.0
1 stars 0 forks source link

Disable click node to collapse in models view #326

Open mj3cheun opened 3 years ago

mj3cheun commented 3 years ago

Now that the collapse/expand boxes are in place, click parent node to collapse/expand is both unnecessary and causes issues with accidental activation. It should probably be disabled. Please confirm @RosaRomeroGomez.

RosaRomeroGomez commented 3 years ago

Can you describe the issues with activation? You mean with the addition to the params panel and variables panel? Right, we are using double click now for both, however, I still see the value of that feature for large models.

mj3cheun commented 3 years ago

Sorry if I wasnt clear, I attached a recording illustrating what i mean. Notice that the button does not appear to have any special click behaviour compared to any other part of the parent node.

https://user-images.githubusercontent.com/14062458/127678730-4f32da8d-0507-4d6f-bc8f-f5fdd47ada63.mov

RosaRomeroGomez commented 3 years ago

Ohhh yes, I enabled it but it seems that expand/collapse function adds that event to the parent container itself. I think we have two options: 1) disable that in the parent; 2) disabled that for the control. We might just go with 2 then.