Stardardisation / cleanup work for private API functions (#7)

This commit is contained in:
Nic Barker 2024-08-30 18:44:36 +12:00 committed by GitHub
parent 24d4c5e553
commit fd45138d57
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 124 additions and 126 deletions

View file

@ -178,7 +178,7 @@ void Clay_Raylib_Render(Clay_RenderCommandArray renderCommands)
break;
}
case CLAY_RENDER_COMMAND_TYPE_BORDER: {
Clay_BorderContainerElementConfig *config = renderCommand->config.borderElementConfig;
Clay_BorderElementConfig *config = renderCommand->config.borderElementConfig;
// Left border
if (config->left.width > 0) {
DrawRectangle((int)roundf(boundingBox.x), (int)roundf(boundingBox.y + config->cornerRadius.topLeft), (int)config->left.width, (int)roundf(boundingBox.height - config->cornerRadius.topLeft - config->cornerRadius.bottomLeft), CLAY_COLOR_TO_RAYLIB_COLOR(config->left.color));