mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-03 10:23:32 +00:00
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:
parent
8f61f1c2a7
commit
2a8ebb9752
8 changed files with 34 additions and 104 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue