MCPcopy Create free account
hub / github.com/Moddable-OpenSource/moddable / rightReleased

Method rightReleased

contributed/modClock/main.js:1133–1143  ·  view source on GitHub ↗
(button)

Source from the content-addressed store, hash-verified

1131 }
1132
1133 rightReleased(button) {
1134trace(`rightReleased elapsed: ${button.elapsed}\n`);
1135 if (button.elapsed < 50)
1136 return;
1137 if (!this.clock.uiChangedValue) {
1138 this.clock.incrementSetting();
1139 }
1140 else {
1141 // right released but value already changed in stilldown.
1142 }
1143 }
1144
1145 rightStillDown(button) {
1146 let now = Time.ticks;

Callers

nothing calls this directly

Calls 1

incrementSettingMethod · 0.80

Tested by

no test coverage detected