@rbxts/touch-button 1.0.8 → 1.0.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  -- Compiled with roblox-ts v3.0.0
2
2
  local TS = _G[script]
3
- local observeProperty = TS.import(script, TS.getModule(script, "@rbxts", "roblox-observers").out["observe-property"]).observeProperty
3
+ local observeProperty = TS.import(script, TS.getModule(script, "@rbxts", "roblox-observers").src).observeProperty
4
4
  local _services = TS.import(script, TS.getModule(script, "@rbxts", "services"))
5
5
  local Players = _services.Players
6
6
  local UserInputService = _services.UserInputService
@@ -9,7 +9,7 @@ local remotes = TS.import(script, script.Parent.Parent, "shared", "remotes").rem
9
9
  local _charm = TS.import(script, TS.getModule(script, "@rbxts", "charm"))
10
10
  local atom = _charm.atom
11
11
  local effect = _charm.effect
12
- local Trove = TS.import(script, TS.getModule(script, "@rbxts", "trove").out).Trove
12
+ local Trove = TS.import(script, TS.getModule(script, "@rbxts", "sleitnick-trove").src)
13
13
  local localPlayer = Players.LocalPlayer
14
14
  local camera = Workspace.CurrentCamera
15
15
  local touchGui
@@ -148,7 +148,7 @@ do
148
148
  resizeBtn.Position = UDim2.fromScale(0.82, 0.82)
149
149
  resizeBtn.Size = UDim2.fromOffset(18, 18)
150
150
  resizeBtn.Parent = touchBtn
151
- editingTrove:add(resizeBtn)
151
+ editingTrove:Add(resizeBtn)
152
152
  resizeBtn.InputBegan:Connect(function(input)
153
153
  if (input.UserInputType ~= Enum.UserInputType.MouseButton1) and (input.UserInputType ~= Enum.UserInputType.Touch) then
154
154
  return nil
@@ -179,7 +179,7 @@ do
179
179
  endConn:Disconnect()
180
180
  end)
181
181
  end)
182
- editingTrove:add(touchBtn.InputBegan:Connect(function(input)
182
+ editingTrove:Add(touchBtn.InputBegan:Connect(function(input)
183
183
  if (input.UserInputType ~= Enum.UserInputType.MouseButton1) and (input.UserInputType ~= Enum.UserInputType.Touch) then
184
184
  return nil
185
185
  end
@@ -208,7 +208,7 @@ do
208
208
  end)
209
209
  end))
210
210
  else
211
- editingTrove:clean()
211
+ editingTrove:Clean()
212
212
  touchBtn.Active = lastActive
213
213
  touchBtn.ImageColor3 = Color3.fromRGB(255, 255, 255)
214
214
  iconImage.ImageColor3 = Color3.fromRGB(255, 255, 255)
@@ -254,7 +254,7 @@ do
254
254
  btn.TextColor3 = Color3.new(1, 1, 1)
255
255
  btn.TextSize = 16
256
256
  btn.Parent = touchGui
257
- editingTrove:add(btn)
257
+ editingTrove:Add(btn)
258
258
  local UICorner = Instance.new("UICorner")
259
259
  UICorner.CornerRadius = UDim.new(0, 5)
260
260
  UICorner.Parent = btn
@@ -279,7 +279,7 @@ do
279
279
  self.configEditingMode(false)
280
280
  end)
281
281
  else
282
- editingTrove:clean()
282
+ editingTrove:Clean()
283
283
  end
284
284
  end)
285
285
  end
@@ -4,7 +4,7 @@ local _services = TS.import(script, TS.getModule(script, "@rbxts", "services"))
4
4
  local DataStoreService = _services.DataStoreService
5
5
  local RunService = _services.RunService
6
6
  local remotes = TS.import(script, script.Parent, "shared", "remotes").remotes
7
- local observePlayers = TS.import(script, TS.getModule(script, "@rbxts", "roblox-observers").out["observe-players"]).observePlayers
7
+ local observePlayers = TS.import(script, TS.getModule(script, "@rbxts", "roblox-observers").src).observePlayers
8
8
  local Signal = TS.import(script, TS.getModule(script, "@rbxts", "sleitnick-signal"))
9
9
  local entriesCache = {}
10
10
  local playerDataLoaded = Signal.new()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rbxts/touch-button",
3
- "version": "1.0.8",
3
+ "version": "1.0.10",
4
4
  "description": "",
5
5
  "main": "out/init.lua",
6
6
  "scripts": {
@@ -29,10 +29,10 @@
29
29
  "dependencies": {
30
30
  "@rbxts/charm": "^0.10.0",
31
31
  "@rbxts/remo": "^1.5.1",
32
- "@rbxts/roblox-observers": "^1.0.7",
32
+ "@rbxts/roblox-observers": "^1.0.10",
33
33
  "@rbxts/services": "^1.5.5",
34
34
  "@rbxts/sleitnick-signal": "^1.0.8",
35
- "@rbxts/t": "^3.2.1",
36
- "@rbxts/trove": "^1.3.0"
35
+ "@rbxts/sleitnick-trove": "^1.0.0",
36
+ "@rbxts/t": "^3.2.1"
37
37
  }
38
38
  }