When i use flip flop that will show and close widget , but i add a close button in widget , when i close the widget (i use set visibility hidden) , and use boolean , that cant show normally
this is press keyboard event
this is widget
When i use flip flop that will show and close widget , but i add a close button in widget , when i close the widget (i use set visibility hidden) , and use boolean , that cant show normally
this is press keyboard event
this is widget
Hi there! The main purpose is code duplication. As you can see your nodes with Remove from Parent exist in two places. When you refactor nodes to have only one place that implements this logic, the problem will disappear. For example, you can make it like that:
That’s all - your FlipFlop should work after that.
wow! prefect!! nice i love u ! i no need to use flip flop i use branch!
https://i.imgur.com/tpntamy.png
https://i.imgur.com/YhgnUAV.png