This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Elttob Workroom @ 08 Feb 2023 16:36 auto-recovery file was created | |
builtin_9SliceEditor.rbxm.9SliceEditor.Packages._Index.Scheduler.Scheduler.forks.SchedulerHostConfig.default:117: | |
------ Error caught by React ------ | |
attempt to call a nil value | |
------ Error caught by React ------ | |
9SliceEditor.9SliceEditor.Packages._Index.ReactReconciler.ReactReconciler.ReactFiberHostContext.new:78 function pushHostContainer | |
9SliceEditor.9SliceEditor.Packages._Index.ReactReconciler.ReactReconciler.ReactFiberBeginWork.new:1199 function updateHostRoot | |
9SliceEditor.9SliceEditor.Packages._Index.ReactReconciler.ReactReconciler.ReactFiberBeginWork.new:3592 function beginWork | |
builtin_9SliceEditor.rbxm.9SliceEditor.Packages._Index.ReactReconciler.ReactReconciler.ReactFiberWorkLoop.new:254 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--[[ | |
A special key for property tables. | |
When applied to a UIListLayout, enables flexible sizing on the laid out UI | |
objects. | |
When applied to a GuiObject in a [Flex]-ed UIListLayout, opts the object | |
into flexible sizing - the object's size will be overwritten along the | |
direction of layout to fill up spare space. | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--[[ | |
Utilities for serialising and deserialising values for safe representation | |
in limited media, for example when saving to plugin storage or attributes. | |
(c) Elttob 2022 - Licensed under MIT | |
]] | |
local HttpService = game:GetService("HttpService") | |
local Serde = {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--!strict | |
--[[ | |
Facing | |
A better enum for working with directions and faces. | |
----- | |
© Elttob 2022 - Available under MIT license | |
]] | |
type Facing = { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local function Cascade<T>(): Cascade | |
local self = {} | |
local definedValues: {[Instance]: T} = {} | |
local definedValueChangeListeners: {[Instance]: (forInstance) -> ()} = {} | |
local function getCascadedValue(target: Instance): T? | |
return definedValues[target] | |
or if target.Parent ~= nil then getNearestDefinedAncestor(target.Parent) | |
else nil |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local function new() | |
local ref = {instance = Instance.new("TextButton")} | |
ref.instance.Parent = workspace | |
local function updateRefStrength() | |
if game:IsAncestorOf(ref.instance) then | |
setmetatable(ref, {}) | |
else | |
setmetatable(ref, {__mode = "v"}) | |
end |