Update Flexbox.lua

This commit is contained in:
Robert Jelic
2023-05-19 17:21:39 +02:00
parent cbc8ca5c5b
commit 67a408a4c8

View File

@@ -2,7 +2,7 @@
local function flexObjectPlugin(base, basalt) local function flexObjectPlugin(base, basalt)
local flexGrow = 0 local flexGrow = 0
local flexShrink = 0 local flexShrink = 0
local flexBasis = 6 local flexBasis = 12
local object = { local object = {
getFlexGrow = function(self) getFlexGrow = function(self)
@@ -353,7 +353,7 @@ return function(name, basalt)
return spacing return spacing
end, end,
setFlexWrap = function(self, value) setWrap = function(self, value)
wrap = value wrap = value
updateLayout = true updateLayout = true
return self return self