Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Line opacity not working on Fitbit Versa

ANSWERED

Hi, I'm making a clockface for Fitbit Versa with SDK version 4.2 and running into an issue with setting opacity for a line.

I have two lines - one with opacity .3 and one with opacity 1. The opacity differences between these lines is visible in the emulator:


https://ibb.co/qFTry6x

 

But there is no opacity when I install the clockface on my device (Fitbit Versa):

https://ibb.co/Qk0b4Lx

 

Please help, how do I fix this?

Here's the code:

index.gui:

<line x1="250" y1="125" x2="275" y2="150" stroke-width="6" stroke-linecap="round" id="testPoint1" fill="#3A86FF"></line>
<line x1="275" y1="150" x2="300" y2="175" stroke-width="6" stroke-linecap="round" id="testPoint2" fill="#3A86FF"></line>

style.css:

#testPoint1 {
  opacity: 1;
}

#testPoint2 {
  opacity: .3;
}

Best Answer
0 Votes
1 BEST ANSWER

Accepted Solutions

Unfortunately this is a bug. it's fixed in the 4.2.1 firmware update which will be in the new year.

View best answer in original post

Best Answer
0 Votes
6 REPLIES 6

Unfortunately this is a bug. it's fixed in the 4.2.1 firmware update which will be in the new year.

Best Answer
0 Votes

Thank you for the update Jon! Any idea if that firmware will be rolled out to Fitbit Versa? 

Best Answer
0 Votes

Yes, 4.2.1 is for Ionic, Versa, Versa Lite, and Versa 2.

Best Answer
0 Votes

Great - thanks again!

Best Answer
0 Votes

Thrilled to see this fixed - thanks Fitbit team!

Best Answer
0 Votes

Jon,

I noticed that stroke-opacity is not recognized, while fill-opacity is. Can we expect stroke-opacity to be implemented?

Thanks...

Best Answer
0 Votes