Skip to content

Commit d34461c

Browse files
Copilotlijy91
andcommitted
fix: correct bounds width height order
Co-authored-by: lijy91 <3889523+lijy91@users.noreply.github.com>
1 parent e964af6 commit d34461c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/capi/window_c.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ void native_window_set_bounds(native_window_t window, native_rectangle_t bounds)
212212
if (!window)
213213
return;
214214
auto* win = static_cast<nativeapi::Window*>(window);
215-
Rectangle rect = {bounds.x, bounds.y, bounds.height, bounds.width};
215+
Rectangle rect = {bounds.x, bounds.y, bounds.width, bounds.height};
216216
win->SetBounds(rect);
217217
}
218218

0 commit comments

Comments
 (0)