MCPcopy Index your code
hub / github.com/KilledByAPixel/LittleJS / navigatePressed

Method navigatePressed

plugins/uiSystem.js:1397–1404  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1395 this.textColor, this.textLineWidth, this.textLineColor, this.align, this.font, this.fontStyle, true, this.textShadow);
1396 }
1397 navigatePressed()
1398 {
1399 // toggle value between 0 and 1
1400 this.value = this.value ? 0 : 1;
1401 this.onChange();
1402 this.onRelease();
1403 super.navigatePressed();
1404 }
1405}
1406
1407///////////////////////////////////////////////////////////////////////////////

Callers

nothing calls this directly

Calls 3

onChangeMethod · 0.80
onReleaseMethod · 0.45
navigatePressedMethod · 0.45

Tested by

no test coverage detected