Index: sources/gui/qml/components/TouchRect.qml =================================================================== diff -u -r36a488a3d29449ffedfe364d0031ed74d03c0ae0 -rddd2197b24223c540a016e3256f97082f817c088 --- sources/gui/qml/components/TouchRect.qml (.../TouchRect.qml) (revision 36a488a3d29449ffedfe364d0031ed74d03c0ae0) +++ sources/gui/qml/components/TouchRect.qml (.../TouchRect.qml) (revision ddd2197b24223c540a016e3256f97082f817c088) @@ -45,8 +45,6 @@ property color textColor : Colors.textButton property color borderColor : Colors.borderButton property color backgroundColor : Colors.backgroundButtonNormal - property color disabledColor : Colors.transparent - property color borderDisabledColor: Colors.borderDisableButton property color defaultColor : backgroundColor == Colors.transparent ? Colors.backgroundButtonSelect : @@ -67,7 +65,7 @@ function color() { var mBackgroundColor = _root.backgroundColor if ( isDefault ) mBackgroundColor = _root.defaultColor - if (! enabled ) return disabledColor + if (! enabled ) return Colors.transparent if ( selectable ) if ( selected ) return Colors.backgroundButtonSelectDark else return mBackgroundColor @@ -77,7 +75,7 @@ } function borderColor() { - if ( ! enabled ) return borderDisabledColor + if ( ! enabled ) return Colors.borderDisableButton if ( selectable ) if ( selected ) { return _root.borderColor