aboutsummaryrefslogtreecommitdiff
path: root/features/hud
diff options
context:
space:
mode:
authorSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-06-03 15:41:40 +0800
committerSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-06-03 15:41:40 +0800
commit578a7e1720c0c85b1023151172eb8e077f5bf126 (patch)
treeaf7096c0a2577d4ef6665c2ccaac537e70977054 /features/hud
parentac1fb62d61fa6a16a43667ac4f16c324f806a54e (diff)
downloadSoopyV2-578a7e1720c0c85b1023151172eb8e077f5bf126.tar.gz
SoopyV2-578a7e1720c0c85b1023151172eb8e077f5bf126.tar.bz2
SoopyV2-578a7e1720c0c85b1023151172eb8e077f5bf126.zip
+ fix there being multiple of the same hud element in the edit gui locations button sometimes
Diffstat (limited to 'features/hud')
-rw-r--r--features/hud/HudTextElement.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/features/hud/HudTextElement.js b/features/hud/HudTextElement.js
index 834ef28..d6440aa 100644
--- a/features/hud/HudTextElement.js
+++ b/features/hud/HudTextElement.js
@@ -23,6 +23,7 @@ class HudTextElement {
delete() {
this.renderElm.stopRender()
+ if (this.locationSetting) this.locationSetting.delete()
}
setBaseEditWidth(width) {