Release 1.0.15

- Added support for more trigger gems
- Added support for Radiant Faith
- Blinged up number edit controls
- Other minor changes
This commit is contained in:
Openarl
2016-09-02 02:24:21 +10:00
parent 4e49df32fc
commit bfe0b01c19
12 changed files with 337 additions and 139 deletions

View File

@@ -50,7 +50,8 @@ function ButtonClass:Draw()
else
SetDrawColor(0.33, 0.33, 0.33)
end
DrawString(x + width / 2, y + 2, "CENTER_X", height - 4, "VAR", self:GetProperty("label"))
local overSize = self.overSizeText or 0
DrawString(x + width / 2, y + 2 - overSize, "CENTER_X", height - 4 + overSize * 2, "VAR", self:GetProperty("label"))
end
function ButtonClass:OnKeyDown(key)