mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 23:57:13 +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;
|
id: nameCard;
|
||||||
// Properties
|
// Properties
|
||||||
profileUrl: (model && model.profileUrl) || "";
|
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;
|
displayName: styleData.value;
|
||||||
userName: model ? model.userName : "";
|
userName: model ? model.userName : "";
|
||||||
connectionStatus: model ? model.connection : "";
|
connectionStatus: model ? model.connection : "";
|
||||||
|
@ -903,7 +903,7 @@ Rectangle {
|
||||||
rowDelegate: Rectangle {
|
rowDelegate: Rectangle {
|
||||||
// Size
|
// Size
|
||||||
height: rowHeight;
|
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
|
// This Item refers to the contents of each Cell
|
||||||
|
@ -916,7 +916,7 @@ Rectangle {
|
||||||
// Properties
|
// Properties
|
||||||
visible: styleData.role === "userName";
|
visible: styleData.role === "userName";
|
||||||
profileUrl: (model && model.profileUrl) || "";
|
profileUrl: (model && model.profileUrl) || "";
|
||||||
imageMaskColor: rowColor(styleData.selected, styleData.row % 2, model.isPresent);
|
imageMaskColor: rowColor(styleData.selected, styleData.row % 2, true);
|
||||||
displayName: "";
|
displayName: "";
|
||||||
userName: model ? model.userName : "";
|
userName: model ? model.userName : "";
|
||||||
connectionStatus : model ? model.connection : "";
|
connectionStatus : model ? model.connection : "";
|
||||||
|
|
Loading…
Reference in a new issue