Ei muokkausyhteenvetoa |
Ei muokkausyhteenvetoa |
||
| Rivi 586: | Rivi 586: | ||
if ( obs.seriesId == memo.curSeason ) { | if ( obs.seriesId == memo.curSeason ) { | ||
baseSize = 7; | baseSize = 7; | ||
strokeSize = 1; | |||
} else if (memo.obsesTotal < 100) { | } else if (memo.obsesTotal < 100) { | ||
baseSize = 6; | baseSize = 6; | ||
strokeSize = 0.5; | |||
} else if (memo.obsesTotal < 200) { | } else if (memo.obsesTotal < 200) { | ||
baseSize = 5; | baseSize = 5; | ||
strokeSize = 0.25; | |||
} else { | } else { | ||
baseSize = 4; | baseSize = 4; | ||
strokeSize = 0.125; | |||
} | } | ||
if ( memo.maintainerShow ) { maintcol = maintColors[obs.maintainer]; } | if ( memo.maintainerShow ) { maintcol = maintColors[obs.maintainer]; } | ||
else { maintcol = '#ffffff'; } //'transparent'; } | else { maintcol = '#ffffff'; } //'transparent'; } | ||
if (!!obs.addInfo) { | if (!!obs.addInfo) { | ||
obs.style = 'point { shape-type: star; size: ' + (baseSize+3) + '; shape-dent: 0.5; stroke-width: 0; stroke-color: ' + maintcol + '; }'; | obs.style = 'point { shape-type: star; size: ' + (baseSize+3) + '; shape-dent: 0.5; stroke-width: 0; stroke-color: ' + maintcol + '; }'; | ||
} else { | } else { | ||
obs.style = 'point { size: ' + baseSize + '; stroke-width: | obs.style = 'point { size: ' + baseSize + '; stroke-width: ' + strokeSize + '; stroke-color: ' + maintcol + '; }'; | ||
} | } | ||


