aboutsummaryrefslogtreecommitdiff
path: root/features/settings/settingThings/textSetting.js
diff options
context:
space:
mode:
Diffstat (limited to 'features/settings/settingThings/textSetting.js')
-rw-r--r--features/settings/settingThings/textSetting.js10
1 files changed, 9 insertions, 1 deletions
diff --git a/features/settings/settingThings/textSetting.js b/features/settings/settingThings/textSetting.js
index 4666fbf..1ce53ab 100644
--- a/features/settings/settingThings/textSetting.js
+++ b/features/settings/settingThings/textSetting.js
@@ -20,7 +20,15 @@ class TextSetting extends SettingBase {
}))
}
-
+ update(){
+ if(this.hasHelp()){
+ this.guiObject.addChild(this.helpButton)
+
+ this.guiObject.text.setLocation(0.075, 0, 0.6-0.075, 0.6)
+ }else{
+ this.guiObject.text.setLocation(0, 0, 0.6, 0.6)
+ }
+ }
setValue(newVal){
super.setValue(newVal)