Merge pull request #403 from argonui/token-arranger

Token Arranger: Bugfix for label clipping into table when viewed from above
This commit is contained in:
Entrox-Licher 2023-10-13 23:59:28 -04:00 committed by GitHub
commit 7f34769ba0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -233,7 +233,7 @@ end
-- creates buttons as labels as display for percentage values -- creates buttons as labels as display for percentage values
function createPercentageButton(tokenCount, valueCount, tokenName) function createPercentageButton(tokenCount, valueCount, tokenName)
local startPos = Vector(2.3, -0.05, 0.875 * valueCount) local startPos = Vector(2.3, -0.04, 0.875 * valueCount)
if percentage == "cumulative" then if percentage == "cumulative" then
percentageLabel.scale = { 1.5, 1.5, 1.5 } percentageLabel.scale = { 1.5, 1.5, 1.5 }