mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-17 05:54:28 +00:00
The two different mode sets are stored in single fields, and the underlying values didn't overlap, so there was no reason to keep them separate. The enum is now an enum class as well, to enforce that almost all uses of the enum are named. The only case where underlying values are used is in lookup tables, but it may be worth abstracting that as well to make array bounds more clear.
98 KiB
98 KiB