- Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Thank you for developing and sharing this project.
As you may already have noticed, in src/capi/window_c.cpp line 215,
it appears that the width and height are passed in the wrong order when constructing the Rectangle.
// Window geometry operations FFI_PLUGIN_EXPORT voidnative_window_set_bounds(native_window_t window, native_rectangle_t bounds){if (!window) return; auto* win = static_cast<nativeapi::Window*>(window); Rectangle rect ={bounds.x, bounds.y, bounds.height, bounds.width}; // should be{x, y, width, height} win->SetBounds(rect)} I wasn't sure if opening a PR directly would be appropriate, so I'm leaving this issue instead.
Thanks, and have a great day.
Metadata
Metadata
Assignees
Labels
No labels