Flickable: don't make the viewport special

Instead: add the viewport propety directly in the Flickable

Simplifies the compiler's code generation a bit
This commit is contained in:
Olivier Goffart 2023-06-30 13:26:37 +02:00 committed by Olivier Goffart
parent 8f61f1c2a7
commit 2a8ebb9752
8 changed files with 34 additions and 104 deletions

View file

@ -121,8 +121,6 @@ export component FocusScope {
}
export component Flickable inherits Empty {
// These properties are actually going to be forwarded to the viewport by the
// code generator
in property <length> viewport-height;
in property <length> viewport-width;
in-out property <length> viewport-x;