Skip to content

Commit

Permalink
plugin: fix extraneous x padding
Browse files Browse the repository at this point in the history
  • Loading branch information
takase1121 committed Dec 2, 2024
1 parent d269d5b commit f5a2cc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/plugin_manager/plugin_view.lua
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ function PluginView:draw()
end

local ox, oy = self:get_content_offset()
ox, oy = ox + style.padding.x, oy + self:get_table_content_offset()
oy = oy + self:get_table_content_offset()
core.push_clip_rect(self.position.x, self.position.y + self:get_table_content_offset(), self.size.x, self.size.y)
for i, plugin in ipairs(sorted_plugins) do
local x, y = ox, oy
Expand Down

0 comments on commit f5a2cc1

Please sign in to comment.