fix(g13): подсказки выше хотбара (0.6 центра вместо низа)
Прошлая позиция (1, -120) перекрывала хотбар инвентаря. Новая (0.5, -160; 0.6, 0) — выше середины экрана, не мешает.
This commit is contained in:
parent
47ad608182
commit
e8bfdda380
@ -1123,7 +1123,7 @@ hintGui.StudsOffset = Vector3.new(0, 2.5, 0)
|
|||||||
hintGui.AlwaysOnTop = true
|
hintGui.AlwaysOnTop = true
|
||||||
local label = Instance.new("TextLabel", hintGui)
|
local label = Instance.new("TextLabel", hintGui)
|
||||||
label.Size = UDim2.new(0, 320, 0, 50)
|
label.Size = UDim2.new(0, 320, 0, 50)
|
||||||
label.Position = UDim2.new(0.5, -160, 1, -120) -- внизу по центру
|
label.Position = UDim2.new(0.5, -160, 0.6, 0) -- ниже центра, над хотбаром
|
||||||
label.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
|
label.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
|
||||||
label.BackgroundTransparency = 0.4
|
label.BackgroundTransparency = 0.4
|
||||||
label.TextColor3 = Color3.fromRGB(255, 255, 255)
|
label.TextColor3 = Color3.fromRGB(255, 255, 255)
|
||||||
@ -1166,7 +1166,7 @@ hintGui.StudsOffset = Vector3.new(0, 3.5, 0)
|
|||||||
hintGui.AlwaysOnTop = true
|
hintGui.AlwaysOnTop = true
|
||||||
local label = Instance.new("TextLabel", hintGui)
|
local label = Instance.new("TextLabel", hintGui)
|
||||||
label.Size = UDim2.new(0, 280, 0, 50)
|
label.Size = UDim2.new(0, 280, 0, 50)
|
||||||
label.Position = UDim2.new(0.5, -140, 1, -120) -- внизу по центру
|
label.Position = UDim2.new(0.5, -140, 0.6, 0) -- ниже центра, над хотбаром
|
||||||
label.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
|
label.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
|
||||||
label.BackgroundTransparency = 0.4
|
label.BackgroundTransparency = 0.4
|
||||||
label.TextColor3 = Color3.fromRGB(255, 255, 255)
|
label.TextColor3 = Color3.fromRGB(255, 255, 255)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user