Open spikespaz opened 12 months ago
Has it been reproduced?
Thanks for reporting a bug.
The problem is that the easing keywords are not part of a namespace or enum so you can't name them outside of an expression that is itself an easing. We should probably add a Easing namespace or something like that.
I took a peak but truth be told had a hard time navigating this behemoth of a repo. I'll take another, more focused, look to see if I can contribute.
If you want to have a look at implementing that, this should be done in lookup.rs
.
Right now, the easing curves are in the EasingSpecific
, which is only used if the type is an easing curve.
But we could add an entry in BuiltinNamespaceLookup
to access the.
Slint version: 1.3.0 (extension version ??? does every subproject have the same version) Platform: irrelevant (MacOS, Linux, Windows) Language: irrelevant, LSP/preview issue
Creating a
struct
with a field type ofeasing
is impossible to represent.