mirror of
https://github.com/slint-ui/slint.git
synced 2025-12-23 09:19:32 +00:00
... if they are not set as actual binding before As reported in #3068 The problem is that the pass will properly create the Rotation or Opacity item, but will not create the two way binding if there is no existing binding. This causes code like `img.rotation-angle = ...` to change the rotation angle of the image, but not its parent Rotation item. Fix it by making sure there is always a binding. Since the change only affect visual representation, I abused one of the screenshot test to test this feature. And I also patched another bug that some #[allow(unused_parens)] was not set in the 'init' callback and would cause a warning in the test |
||
|---|---|---|
| .. | ||
| cases | ||
| doctests | ||
| driver | ||
| helper_components | ||
| manual | ||
| screenshots | ||