mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-29 22:01:14 -07:00
Fix background colour for dark theme
The default colour for Rectangle is white. So this Rectangle, not defining a colour, became white. Instead we should use an Item, which cannot have a background colour and thus becomes transparent, making the background colour the same as the button below, which was intended. It's also slightly faster to render. Contributes to issue CURA-6033.
This commit is contained in:
parent
5e98544541
commit
a720cca5b6
1 changed files with 1 additions and 1 deletions
|
|
@ -73,7 +73,7 @@ Button
|
|||
}
|
||||
|
||||
// Unknown material
|
||||
Rectangle
|
||||
Item
|
||||
{
|
||||
id: unknownMaterial
|
||||
height: unknownMaterialMessage.height + UM.Theme.getSize("thin_margin").width / 2
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue