eclipsesource / eclipsesource/tabris-js
Switch shows wrong ripple color when thumb color set
Open
android
bug
- Dominant language
- JavaScript
- Stars
- 1.4k
- Forks
- 171
- PR merge metrics
- No merged PRs in 30d
Description
### Problem description
The color is taken from the default theme and not the user provided `thumbOnColor`.

### Expected behavior
The ripple color should be taken from the thumb color.
### Environment
- Tabris.js version: 2.0.0
- Device: Android
- OS: any
### Code snippet
```javascript
new Switch({
left: 16, top: 16,
thumbOffColor: 'red',
thumbOnColor: 'green',
trackOnColor: 'blue',
trackOffColor: 'yellow',
checked: true
}).appendTo(ui.contentView);
```
Contributor guide
Assessment
This issue has not been assessed yet.