Skip to content

Commit

Permalink
Use correct spacing in equipment stats tooltip
Browse files Browse the repository at this point in the history
  • Loading branch information
Web-eWorks committed Nov 4, 2024
1 parent d13cbca commit 1f6f38b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion data/pigui/libs/equip-card.lua
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ local ui = require 'pigui'

local icons = ui.theme.icons
local colors = ui.theme.colors
local styles = ui.theme.styles
local pionillium = ui.fonts.pionillium

--
Expand Down Expand Up @@ -129,7 +130,7 @@ function EquipCard.drawEquipStats(data)

ui.tableSetColumnIndex(1)
ui.icon(tooltip[2], Vector2(ui.getTextLineHeight(), ui.getTextLineHeight()), ui.theme.colors.font)
ui.sameLine(0, ui.getTextLineHeight() / 4.0)
ui.sameLine(0, styles.ItemInnerSpacing.x)

local value, format = tooltip[3], tooltip[4]
ui.text(format(value))
Expand Down

0 comments on commit 1f6f38b

Please sign in to comment.