slint
slint copied to clipboard
Fix compiler panic when using `%` size in a flickable
The viewport of a flickable is of ElementType::Native, and lookup_property
don't query the builtin reserved properties in that case.
This commit fix the assert by allowing Type::Invalid as well.
Fixes #4163