Clang fixes

This commit is contained in:
Michael Davidson 2023-12-17 22:22:36 +11:00
parent 2227a091c5
commit fc6aa95ac4
No known key found for this signature in database
GPG Key ID: B8D1A99712B8B0EB
3 changed files with 8 additions and 8 deletions

View File

@ -19,7 +19,7 @@ void RootLayoutComponent::dump_config() {
void RootLayoutComponent::render_at(display::Display *display, int x, int y) { void RootLayoutComponent::render_at(display::Display *display, int x, int y) {
display->set_local_coordinate(x, y); display->set_local_coordinate(x, y);
display::Rect layout _rect = this->layout_root_->measure_item(display); display::Rect layout_rect = this->layout_root_->measure_item(display);
display::Rect clipping_rect = display::Rect(x, y, layout_rect.w, layout_rect.h); display::Rect clipping_rect = display::Rect(x, y, layout_rect.w, layout_rect.h);
// TODO: Should clipping be relative to local? // TODO: Should clipping be relative to local?