AlexR32 / Bracket

User Interface Library For Roblox
10 stars 7 forks source link

KeybindList. Position and Size (Maybe) #3

Closed NTFSquad closed 3 months ago

NTFSquad commented 3 months ago

KeybindList Bug

It might be a skill issue of mine or, Using KeybindList .Size or .Position will get set correctly but later in the code it will get set back to the default defined values because of (Line 2585) and (Line 2588)

Bracket.Utilities.MakeDraggable(Bracket.Screen.KeybindList.Topbar, Bracket.Screen.KeybindList, function(Position)
    KeybindList.Position = Position
end)
Bracket.Utilities.MakeResizeable(Bracket.Screen.KeybindList.Resize, Bracket.Screen.KeybindList, Vector2.new(121, 246), Vector2.new(896, 896), function(Size)
    KeybindList.Size = Size
end)
local Bracket = loadstring(game:HttpGet("https://raw.githubusercontent.com/AlexR32/Bracket/main/BracketV34.lua"))()

local Window = Bracket:Window() do
    Window:KeybindList({Enabled = true, Size = UDim2.new(0, 242, 0, 492)}) --// doubled the normal size
end

Remain's the default size

image