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

Method rightStillDown

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

Source from the content-addressed store, hash-verified

1143 }
1144
1145 rightStillDown(button) {
1146 let now = Time.ticks;
1147 if (now - this.clock.uiValueChangedMS > SETTING_ITER1_MS) {
1148 button.lastModeChanged = now;
1149trace(`rightStillDown\n`);
1150 this.clock.uiValueChanged = 1;
1151 this.clock.incrementSetting();
1152 this.clock.uiValueChangedMS = now;
1153 }
1154 }
1155
1156 leftPressed(button) {
1157trace(`leftPressed - clear value changed now: ${Time.ticks}\n`);

Callers

nothing calls this directly

Calls 1

incrementSettingMethod · 0.80

Tested by

no test coverage detected