From f9c338d90db08c85f676bc2ceb81db9584b66c3a Mon Sep 17 00:00:00 2001 From: Le~Kat Date: Sat, 25 Feb 2023 12:17:09 -0500 Subject: [PATCH] issue with app calling roll function too many times at startup --- apps/multidice/ChangeLog | 1 + apps/multidice/app.js | 2 +- apps/multidice/metadata.json | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/apps/multidice/ChangeLog b/apps/multidice/ChangeLog index 68ada4870..29da3bf24 100644 --- a/apps/multidice/ChangeLog +++ b/apps/multidice/ChangeLog @@ -11,3 +11,4 @@ 1.09: hopefully now it's fixed? 1.10: not having web bluetooth to debug is a PAIN 1.11: decreased vibration time, decreased accel requirement +1.12: issue with app calling roll function too many times at startup diff --git a/apps/multidice/app.js b/apps/multidice/app.js index 5469b495b..6295c7a9b 100644 --- a/apps/multidice/app.js +++ b/apps/multidice/app.js @@ -137,7 +137,7 @@ function random (max) { function vibrate() { Bangle.on ('accel', voidFn); - Bangle.buzz(50, 1).then ((value) => { + Bangle.buzz(50, 0.5).then ((value) => { Bangle.on ('accel', accelHandler); }); diff --git a/apps/multidice/metadata.json b/apps/multidice/metadata.json index ca5ec991f..177b8a32a 100644 --- a/apps/multidice/metadata.json +++ b/apps/multidice/metadata.json @@ -1,7 +1,7 @@ { "id": "multidice", "name": "multiple dice roller", "shortName":"multidice", - "version":"1.11", + "version":"1.12", "description": "roll anywhere from 1-8 dice at the same time", "icon": "app.png", "tags": "tool,game",