HomePhabricator
Diffusion Comm 2241ebe29a11

[web] Keyboard support for typeahead [8/13] - Add positive modulo function

Description

[web] Keyboard support for typeahead [8/13] - Add positive modulo function

Summary:
Added function for calculating positive value of number mod base.
It will be needed in further diffs to wrap value back to 0 when it overflows max value (and vice verse)

Test Plan:
Typeahead without keyboard support works.
Final tests performed in last diffs.

Reviewers: inka, kamil, ginsu, tomek

Reviewed By: inka, tomek

Subscribers: ashoat, atul, tomek, ginsu, kamil, inka

Differential Revision: https://phab.comm.dev/D6048

Details

Provenance
przemekAuthored on Dec 22 2022, 6:59 AM
Reviewer
inka
Differential Revision
D6048: [web] Keyboard support for typeahead [8/13] - Add positive modulo function
Parents
rCOMM743b663b08cd: [web] Keyboard support for typeahead [7/13] - Refactor…
Branches
Unknown
Tags
Unknown