Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .lune/commands/install/init.luau
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ install.arguments = {

local PROJECT_FILE = "plugin/default.project.json"
local SOURCEMAP_PATH = "plugin/generated/sourcemap.json"
local VERSION_PIN = "0.719.0.7191339"
local VERSION_PIN = "0.722.0.7221024"
local PACKAGE_DIRS = {
"Packages",
"DevPackages",
Expand Down
15 changes: 15 additions & 0 deletions plugin/patches/Foundation_2.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
diff --git a/Foundation/Components/Popover/Content/PopoverContent.lua.rej b/Foundation/Components/Popover/Content/PopoverContent.lua.rej
deleted file mode 100644
index cde91c8..0000000
--- a/Foundation/Components/Popover/Content/PopoverContent.lua.rej
+++ /dev/null
@@ -1,9 +0,0 @@
-diff a/plugin/Packages/_Index/Foundation/Foundation/Components/Popover/Content/PopoverContent.lua b/plugin/Packages/_Index/Foundation/Foundation/Components/Popover/Content/PopoverContent.lua (rejected hunks)
-@@ -205,6 +205,7 @@ local function PopoverContent(contentProps: PopoverContentProps, forwardedRef: R
- Position = position:map(function(value: Vector2)
- return UDim2.fromOffset(value.X, value.Y)
- end),
-+ InputSink = Enum.InputSink.All,
- selection = props.selection,
- selectionGroup = props.selectionGroup,
- sizeConstraint = {
37 changes: 37 additions & 0 deletions plugin/patches/Foundation_3.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
diff --git a/Foundation/Components/Sheet/Sheet.lua b/Foundation/Components/Sheet/Sheet.lua
index 95d05c4..5aaa8a9 100644
--- a/Foundation/Components/Sheet/Sheet.lua
+++ b/Foundation/Components/Sheet/Sheet.lua
@@ -1,17 +1,12 @@
local Foundation = script:FindFirstAncestor("Foundation")
local Packages = Foundation.Parent
local React = require(Packages.React)
-local ReactUtils = require(Packages.ReactUtils)
-
-local Flags = require(Foundation.Utility.Flags)

local BottomSheet = require(script.Parent.BottomSheet)
local CenterSheet = require(script.Parent.CenterSheet)
+local DialogSize = require(Foundation.Enums.DialogSize)
local SideSheet = require(script.Parent.SideSheet)
local useOverlay = require(Foundation.Providers.Overlay.useOverlay)
-local useScreen = require(Foundation.Providers.Overlay.useScreen)
-local GuiService = require(Foundation.Utility.Wrappers).Services.GuiService
-local DialogSize = require(Foundation.Enums.DialogSize)
local withDefaults = require(Foundation.Utility.withDefaults)
type DialogSize = DialogSize.DialogSize

@@ -39,11 +34,11 @@ local function Sheet(sheetProps: SheetProps, ref: React.Ref<GuiObject>): React.R
end

local function update()
- setSmallDisplay(screen.AbsoluteSize.X <= 500)
+ setSmallDisplay(screen.AbsoluteSize.X <= 640)
end
update()

- local connection = GuiService:GetPropertyChangedSignal("ViewportDisplaySize"):Connect(update)
+ local connection = screen:GetPropertyChangedSignal("AbsoluteSize"):Connect(update)
return function()
connection:Disconnect()
end
Loading