We have moved to a new Sailfish OS Forum. Please start new discussions there.
![]() | 1 | initial version | posted 2018-11-15 10:35:48 +0200 |
Hi to all.
I noticed about some changes in the colors on v3.0.0.8. And I can't fix some of my apps/patches, maybe here someone can help to fix it.
P.S. Already asked Andrey (Coderus), he can't help for now (lack of time).
Here is a code that slider use to change colors, but probably I need to change it somehow for v3.0.0.8, because it not do what it should to do.
color: customCameraOverlay.defaultbasel == 1 ? Color.toHighlight(Color.fromHsva(customCameraOverlay.baselcolor/100, 1.0, 0.5, 1.0)) : Qt.darker(Color.toHighlight(Color.fromHsva(customCameraOverlay.baselcolor/100, 1.0, 0.5, 1.0)))
And here the full code from this patch: https://pastebin.com/Uk4rbix7 (maybe some other lines should be changed instead this one).
Same color problems I have in two other apps like FastDial_icon and Fastmail_icon.
Will be nice if someone know how to fix it. Thanks.
![]() | 2 | No.2 Revision |
Hi to all.
I noticed about some changes in the colors on v3.0.0.8. And I can't fix some of my apps/patches, maybe here someone can help to fix it.
P.S. Already asked Andrey (Coderus), he can't help for now (lack of time).
Here is a code that slider use to change colors, but probably I need to change it somehow for v3.0.0.8, because it not do what it should to do.
color: customCameraOverlay.defaultbasel == 1 ? Color.toHighlight(Color.fromHsva(customCameraOverlay.baselcolor/100, 1.0, 0.5, 1.0)) : Qt.darker(Color.toHighlight(Color.fromHsva(customCameraOverlay.baselcolor/100, 1.0, 0.5, 1.0)))
And here the full code from this patch: https://pastebin.com/Uk4rbix7 (maybe some other lines should be changed instead this one).
Same color problems I have in two other apps like FastDial_icon and Fastmail_icon.
Will be nice if someone know how to fix it. Thanks.
UPDATE (17.11.2018):
The first question is solved (big thanks to @Ancelad) and I updated my package.
And yes, we have some changes in the slider code for example:
color: customCameraOverlay.defaultbasel == 1 ? Theme.highlightFromColor(Color.fromHsva(customCameraOverlay.baselcolor/100, 1.0, 0.5, 1.0), colorScheme) : Qt.darker(Theme.highlightFromColor(Color.fromHsva(customCameraOverlay.baselcolor/100, 1.0, 0.5, 1.0), colorScheme))
The second question is still not answered...