mirror of
https://github.com/slint-ui/slint.git
synced 2025-12-23 09:19:32 +00:00
The previous code would create many many lambda and if conditions which would cause nesting to be way too high for big enums. Also improve the C++ codegen for condition to use the ternary operator when possible Fixes #9954 |
||
|---|---|---|
| .. | ||
| cpp.rs | ||
| cpp_live_preview.rs | ||
| rust.rs | ||
| rust_live_preview.rs | ||