@rbxts/touch-button 1.0.11 → 1.0.12

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.
package/README.md CHANGED
@@ -2,4 +2,4 @@
2
2
 
3
3
  ## Install
4
4
  Install with [wally](https://wally.run/):\
5
- `TouchButton = "shouxtech/touch-button@1.0.11"`
5
+ `TouchButton = "shouxtech/touch-button@1.0.12"`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rbxts/touch-button",
3
- "version": "1.0.11",
3
+ "version": "1.0.12",
4
4
  "description": "",
5
5
  "main": "src/init.lua",
6
6
  "scripts": {},
package/src/Client.lua CHANGED
@@ -7,7 +7,7 @@ local Shared = require(script.Parent.Shared);
7
7
  local isTypeScriptEnv = script.Parent.Name == 'src';
8
8
  local dependencies = if isTypeScriptEnv then script.Parent.Parent.Parent else script.Parent.Parent;
9
9
  local Charm = require(isTypeScriptEnv and dependencies.charm or dependencies.Charm);
10
- local Trove = require(isTypeScriptEnv and dependencies['sleitnick-trove'] or dependencies.Trove);
10
+ local Trove = require(isTypeScriptEnv and dependencies['sleitnick-trove'].src or dependencies.Trove);
11
11
 
12
12
  type TouchButton = {
13
13
  setIcon: (self: TouchButton, icon: string) -> (),