Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
ElvUI
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
108
Issues
108
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
ElvUI
ElvUI
Commits
32085362
Verified
Commit
32085362
authored
Mar 12, 2019
by
Simpy
🐹
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update comment
parent
3a4ede65
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
ElvUI/Core/Cooldowns.lua
ElvUI/Core/Cooldowns.lua
+1
-1
No files found.
ElvUI/Core/Cooldowns.lua
View file @
32085362
...
...
@@ -51,7 +51,7 @@ function E:Cooldown_OnSizeChanged(cd, parent, width, force)
local
fontScale
=
width
and
(
floor
(
width
+
.
5
)
/
ICON_SIZE
)
-- `CooldownFontSize` is used when we the cooldown button/icon does not use `SetSize` or `Size` for some reason
-- also it `staticSize` can be used to prevent the font size being based on scale, which can sometimes hide the cd text
-- also it `staticSize` can be used to prevent the font size being based on scale, which can sometimes
(when the icon is under 20px)
hide the cd text
local
staticSize
=
parent
and
parent
.
CooldownFontSize
if
staticSize
then
fontScale
=
(
parent
.
CooldownFontSize
/
FONT_SIZE
)
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment