mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-04 18:58:36 +00:00
Revert "Fix conversion to from float to int"
This reverts commit f5d003d1e2
.
We decided to postpone this change until a later release, in maybe a
different shape.
This commit is contained in:
parent
dafa559a55
commit
9a34789070
6 changed files with 27 additions and 60 deletions
|
@ -249,7 +249,7 @@ fn rgb_macro(
|
|||
op: '*',
|
||||
}
|
||||
} else {
|
||||
expr.maybe_convert_to(Type::Float32, &n, diag)
|
||||
expr.maybe_convert_to(Type::Int32, &n, diag)
|
||||
}
|
||||
} else {
|
||||
expr.maybe_convert_to(Type::Float32, &n, diag)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue