mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 04:44:11 +02:00
Row color bugfix
This commit is contained in:
parent
29e97381eb
commit
058faa8c0f
1 changed files with 3 additions and 3 deletions
|
@ -596,7 +596,7 @@ Rectangle {
|
|||
id: nameCard;
|
||||
// Properties
|
||||
profileUrl: (model && model.profileUrl) || "";
|
||||
imageMaskColor: rowColor(styleData.selected, styleData.row % 2, model.isPresent);
|
||||
imageMaskColor: rowColor(styleData.selected, styleData.row % 2, model ? model.isPresent : false);
|
||||
displayName: styleData.value;
|
||||
userName: model ? model.userName : "";
|
||||
connectionStatus: model ? model.connection : "";
|
||||
|
@ -903,7 +903,7 @@ Rectangle {
|
|||
rowDelegate: Rectangle {
|
||||
// Size
|
||||
height: rowHeight;
|
||||
color: rowColor(styleData.selected, styleData.alternate, model ? model.isPresent : true);
|
||||
color: rowColor(styleData.selected, styleData.alternate, true);
|
||||
}
|
||||
|
||||
// This Item refers to the contents of each Cell
|
||||
|
@ -916,7 +916,7 @@ Rectangle {
|
|||
// Properties
|
||||
visible: styleData.role === "userName";
|
||||
profileUrl: (model && model.profileUrl) || "";
|
||||
imageMaskColor: rowColor(styleData.selected, styleData.row % 2, model.isPresent);
|
||||
imageMaskColor: rowColor(styleData.selected, styleData.row % 2, true);
|
||||
displayName: "";
|
||||
userName: model ? model.userName : "";
|
||||
connectionStatus : model ? model.connection : "";
|
||||
|
|
Loading…
Reference in a new issue