mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-03 18:29:09 +00:00
Remove Color::opaque
It is not a right name and i don't think it is a so common operation
This commit is contained in:
parent
cb4ef70d33
commit
5599bd44e0
14 changed files with 5 additions and 167 deletions
|
@ -2370,11 +2370,6 @@ fn compile_builtin_function_call(
|
|||
let factor = a.next().unwrap();
|
||||
quote!(#x.transparentize(#factor as f32))
|
||||
}
|
||||
BuiltinFunction::ColorOpaque => {
|
||||
let x = a.next().unwrap();
|
||||
let factor = a.next().unwrap();
|
||||
quote!(#x.opaque(#factor as f32))
|
||||
}
|
||||
BuiltinFunction::ColorMix => {
|
||||
let x = a.next().unwrap();
|
||||
let y = a.next().unwrap();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue