aboutsummaryrefslogtreecommitdiff
path: root/features/settings/settingThings/location.js
diff options
context:
space:
mode:
Diffstat (limited to 'features/settings/settingThings/location.js')
-rw-r--r--features/settings/settingThings/location.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/features/settings/settingThings/location.js b/features/settings/settingThings/location.js
index 70e1527..9cd13af 100644
--- a/features/settings/settingThings/location.js
+++ b/features/settings/settingThings/location.js
@@ -26,6 +26,8 @@ class LocationSetting extends ButtonSetting {
this.resizePoint = 0
this.resizeInitialPos = [0, 0, 0, 0, 0, 0]
+ this.onChange = undefined
+
this.parent = undefined
this.soopyGui = new SoopyGui()
@@ -146,6 +148,7 @@ class LocationSetting extends ButtonSetting {
_updateValue() {
this.setValue([this.x, this.y, this.scale, this.shadowType])
+ if (this.onChange) this.onChange()
}
editTempText(text) {