Skip to content

Commit

Permalink
Fixed ColorPicker not resetting properly
Browse files Browse the repository at this point in the history
  • Loading branch information
kerbybit committed Jun 24, 2018
1 parent 8441112 commit fa401b6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion SettingsObject.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ SettingsObject.prototype.reset = function() {
case("color_picker"):
_setting = new Setting.ColorPicker(
setting.name,
setting.value
setting.value.slice(0)
).setHidden(setting.hidden);
break;
case("string_selector"):
Expand Down
2 changes: 1 addition & 1 deletion metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"name": "SettingsManager",
"author": "kerbybit",
"description": "Autogenerates a settings file and gui based on the object created and registers. Example usage can be found in UseExample.js",
"version": "1.9"
"version": "1.10"
}

0 comments on commit fa401b6

Please sign in to comment.