mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2025-07-11 03:25:25 +02:00
Formatted the entire codebase and added a CI check for formatting
This commit is contained in:
@ -30,7 +30,7 @@ namespace ImGui {
|
||||
float height = roundf((width / (float)_width) * (float)_height);
|
||||
|
||||
ImVec2 size = CalcItemSize(size_arg, CalcItemWidth(), height);
|
||||
ImRect bb(min, ImVec2(min.x+size.x, min.y+size.y));
|
||||
ImRect bb(min, ImVec2(min.x + size.x, min.y + size.y));
|
||||
float lineHeight = size.y;
|
||||
|
||||
ItemSize(size, style.FramePadding.y);
|
||||
@ -42,7 +42,7 @@ namespace ImGui {
|
||||
newData = false;
|
||||
updateTexture();
|
||||
}
|
||||
|
||||
|
||||
window->DrawList->AddImage((void*)(intptr_t)textureId, min, ImVec2(min.x + width, min.y + height));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user