From 5513ea0c379170d0d50a676c9f7b8e43aea61059 Mon Sep 17 00:00:00 2001 From: sxyazi Date: Thu, 26 Jun 2025 19:41:56 +0800 Subject: [PATCH] fix: typo --- types.yazi/main.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/types.yazi/main.lua b/types.yazi/main.lua index 4594982..3c03bf3 100644 --- a/types.yazi/main.lua +++ b/types.yazi/main.lua @@ -482,9 +482,9 @@ ya = ya -- | Return | `Self` | ---@overload fun(top: integer, right: integer, bottom: integer, left: integer): ui.Pad --- `Pod` represents a position, which is composed of an origin and an offset relative to that origin: +-- `Pos` represents a position, which is composed of an origin and an offset relative to that origin: -- ```lua --- ui.Pod { "center", x = 5, y = 3, w = 20, h = 10 } +-- ui.Pos { "center", x = 5, y = 3, w = 20, h = 10 } -- ``` -- Its only parameter is a table containing the following keys: -- - `[1]`: [Origin](/docs/plugins/aliases#origin) of the position. @@ -2786,9 +2786,9 @@ ya = ya -- ui.Pad(top, right, bottom, left) -- ``` ---@field Pad fun(top: integer, right: integer, bottom: integer, left: integer): ui.Pad --- `Pod` represents a position, which is composed of an origin and an offset relative to that origin: +-- `Pos` represents a position, which is composed of an origin and an offset relative to that origin: -- ```lua --- ui.Pod { "center", x = 5, y = 3, w = 20, h = 10 } +-- ui.Pos { "center", x = 5, y = 3, w = 20, h = 10 } -- ``` -- Its only parameter is a table containing the following keys: -- - `[1]`: [Origin](/docs/plugins/aliases#origin) of the position.