Fix Event.Control test.

This commit is contained in:
ArthurSonzogni
2024-04-27 20:49:49 +02:00
parent 2b73998d56
commit 092482f63b
11 changed files with 216 additions and 170 deletions

View File

@@ -33,8 +33,8 @@ int main() {
auto left_column = Renderer([&] {
Elements children = {
text("Codes"),
separator(),
text("Codes"),
separator(),
};
for (size_t i = std::max(0, (int)keys.size() - 20); i < keys.size(); ++i) {
children.push_back(text(Code(keys[i])));
@@ -44,8 +44,8 @@ int main() {
auto right_column = Renderer([&] {
Elements children = {
text("Event"),
separator(),
text("Event"),
separator(),
};
for (size_t i = std::max(0, (int)keys.size() - 20); i < keys.size(); ++i) {
children.push_back(text(keys[i].DebugString()));