Skip to content

Commit

Permalink
Merge pull request #21 from kennedn/working
Browse files Browse the repository at this point in the history
- Use default_idx for GlobalIndex init value
  • Loading branch information
kennedn authored Jul 12, 2022
2 parents dd019c0 + 42a9fb0 commit e863272
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "stateful",
"author": "kennedn",
"version": "1.3.0",
"version": "1.4.0",
"keywords": [
"pebble-app"
],
Expand Down
2 changes: 1 addition & 1 deletion src/pkjs/data/clay_function.js
Original file line number Diff line number Diff line change
Expand Up @@ -576,7 +576,7 @@ clayConfig.on(clayConfig.EVENTS.AFTER_BUILD, function() {
tileSelector.$manipulatorTarget.set('value', (clayAction.get() == 4) ? tiles.tiles.length - 1 : 0);
tileSelector.$manipulatorTarget.trigger('change');
tileSelector.$manipulatorTarget.get('options')[1].text = "Remove tile (" + tileSelector.$manipulatorTarget.get('options')[tileSelector.$manipulatorTarget.get('selectedIndex')].text + ")";
globalSelector.$manipulatorTarget.set('value', 0);
globalSelector.$manipulatorTarget.set('value', tiles.default_idx);
globalSelector.$manipulatorTarget.trigger('change');


Expand Down
Loading

0 comments on commit e863272

Please sign in to comment.