Fix for detailed clan pie chart percentage
parent
4503c26c42
commit
23b92f6f63
|
@ -365,6 +365,7 @@ canvas.font=aY.g0.g1(1,fontSize),canvas.fillStyle="rgba("+gR+","+tD+","+hj+",0.6
|
|||
// Detailed team pie chart percentage
|
||||
replaceRawCode(`qr=Math.floor(100*f0+.5)+"%"`,
|
||||
`qr = (__fx.settings.detailedTeamPercentage ? (100*f0).toFixed(2) : Math.floor(100*f0+.5)) + "%"`)
|
||||
replaceRawCode(",fontSize=+dz*Math.min(f0,.37);", ",fontSize=(__fx.settings.detailedTeamPercentage ? 0.75 : 1)*dz*Math.min(f0,.37);")
|
||||
|
||||
// Invalid hostname detection avoidance
|
||||
replaceRawCode(`,hostnameIsValid=0<=window.location.hostname.toLowerCase().indexOf("territorial.io"),`,
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
const fx_version = '0.6.6.17'; // FX Client Version
|
||||
const fx_version = '0.6.6.18'; // FX Client Version
|
||||
const fx_update = 'Feb 6'; // FX Client Last Updated
|
||||
|
||||
import settingsManager from './settings.js';
|
||||
|
|
Loading…
Reference in New Issue