Fix scene2d logo color

Swap ambient and diffuse colors in the logo material.

Task-number: QTBUG-63821
Change-Id: Ieecd08ac3845d6864f1da84817bae63685a37612
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
This commit is contained in:
Määttä Antti 2017-10-18 13:45:49 +03:00 committed by Laszlo Agocs
parent fb18ee8f05
commit 44330f2e57
1 changed files with 2 additions and 2 deletions

View File

@ -97,10 +97,10 @@ Entity {
PhongMaterial { PhongMaterial {
id: logoMaterial id: logoMaterial
ambient: Qt.rgba( logoControls.colorR/255, diffuse: Qt.rgba( logoControls.colorR/255,
logoControls.colorG/255, logoControls.colorG/255,
logoControls.colorB/255, 1.0 ) logoControls.colorB/255, 1.0 )
diffuse: Qt.rgba( 0.1, 0.1, 0.1, 0.5 ) ambient: Qt.rgba( 0.1, 0.1, 0.1, 1.0 )
shininess: logoControls.shininess shininess: logoControls.shininess
} }