mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-04 02:39:28 +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
|
@ -2713,9 +2713,6 @@ fn compile_builtin_function_call(
|
|||
BuiltinFunction::ColorTransparentize => {
|
||||
format!("{}.transparentize({})", a.next().unwrap(), a.next().unwrap())
|
||||
}
|
||||
BuiltinFunction::ColorOpaque => {
|
||||
format!("{}.opaque({})", a.next().unwrap(), a.next().unwrap())
|
||||
}
|
||||
BuiltinFunction::ColorMix => {
|
||||
format!("{}.mix({}, {})", a.next().unwrap(), a.next().unwrap(), a.next().unwrap())
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue