@rbxts/touch-button 1.0.1 → 1.0.2

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.
@@ -288,6 +288,11 @@ do
288
288
  end
289
289
  function TouchButton:destroy()
290
290
  self.touchBtn:Destroy()
291
+ local _touchButtons = TouchButton.touchButtons
292
+ local _touchButtons_1 = TouchButton.touchButtons
293
+ local _self = self
294
+ local _arg0 = (table.find(_touchButtons_1, _self) or 0) - 1
295
+ table.remove(_touchButtons, _arg0 + 1)
291
296
  end
292
297
  TouchButton.configEditingMode = atom(false)
293
298
  TouchButton.touchButtons = {}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rbxts/touch-button",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "",
5
5
  "main": "out/init.lua",
6
6
  "scripts": {