mirror of
https://github.com/enso-org/enso.git
synced 2024-12-18 16:51:41 +03:00
4b7afbfd36
Fixes #6485 Conflicting requirements for the widget tree caused the issue: 1. The span tree node had a connection, and the text of the `number1` label was changed to white (as per the `Connected` color state) 2. The node configuration did not consider it a valid port because the span tree kind was `Operation`, which is not a port usually. So the port shape was not displayed, making the label blend with the node background. I fixed the issue by considering the existence of the current connection for `Operation` nodes. Remember that it does not turn the node into a port, so after removing the connection, it's not possible to connect it back. That makes sense, in my opinion, as the resulting AST is invalid anyway. But at least we can see the label on the invalid node. https://github.com/enso-org/enso/assets/6566674/23934966-8f72-4675-abe3-78a3f0c0cda4 |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |