Skip to content

Commit

Permalink
Fix issue #165
Browse files Browse the repository at this point in the history
  • Loading branch information
tukz committed Jul 29, 2024
1 parent 9675b3a commit fd7e8be
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Tukui/Core/Loading.lua
Original file line number Diff line number Diff line change
Expand Up @@ -276,14 +276,14 @@ function Loading:OnEvent(event)

T["Loading"]:Enable()

if (Locale ~= "koKR" or Locale ~= "zhTW" or Locale ~= "zhCN" or Locale ~= "ruRU") then
if (Locale ~= "koKR" and Locale and "zhTW" and Locale ~= "zhCN" and Locale ~= "ruRU") then
C.Medias.Font = C.General.GlobalFont.Value

TukuiFont:SetFont(C.Medias.Font, 12, "")
TukuiFontOutline:SetFont(C.Medias.Font, 12, "THINOUTLINE")
end

if (Locale ~= "koKR" or Locale ~= "zhTW" or Locale ~= "zhCN") then
if (Locale ~= "koKR" and Locale ~= "zhTW" and Locale ~= "zhCN") then
T["Fonts"]:Enable()
end

Expand Down
2 changes: 1 addition & 1 deletion Tukui/Modules/Fonts/Fonts.lua
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ function Fonts:Enable()
Fonts:SetFont(CombatTextFont, C.Medias.Font, 25, "OUTLINE")
end

if (Locale ~= "koKR" or Locale ~= "zhTW" or Locale ~= "zhCN") then
if (Locale ~= "koKR" and Locale ~= "zhTW" and Locale ~= "zhCN") then
-- This need to be set asap
UIDROPDOWNMENU_DEFAULT_TEXT_HEIGHT = 12
CHAT_FONT_HEIGHTS = {12, 13, 14, 15, 16, 17, 18, 19, 20}
Expand Down

0 comments on commit fd7e8be

Please sign in to comment.