phenotips / open-pedigree

A free and open-source pedigree tool by PhenoTips®
GNU Lesser General Public License v2.1
46 stars 25 forks source link

option to not use colour gradient on symbols? #31

Open azankl opened 2 years ago

azankl commented 2 years ago

Is it possible to not have a colour gradient across symbols by default? In my mind, a symbol is either black (affected) or white (unaffected). Having a grey gradient across it blurs this distinction and does not add anything useful.

buske commented 2 years ago

Hi @azankl, thanks for the feedback. This is something we changed in later versions of PhenoTips, and should be pretty simple for someone to modify in this project, so have added labels to encourage people to do so.

AlgyTaylor commented 2 years ago

@azankl , @buske - this could be an area we'll need to look at in the future. If anyone else is motivated to do it, please take it on as our workload is likely to be fairly high anyway - the lead times will be horrendous. But anyway, at least you'll both know that it's on someone's radar!

shermanlo77 commented 1 year ago

The gradient can be removed by modifying the method PersonVisuals.updateDisorderShapes() and removing the gradient. I've placed the changes in https://github.com/shermanlo77/open-pedigree/commit/bf8ba2c96dfb475e880eb4628cecc3c664c7e270