We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dee0736 commit 8a7ea78Copy full SHA for 8a7ea78
iui/src/controls/area.rs
@@ -188,7 +188,7 @@ impl Area {
188
/// If called on a non-scrolling `Area`, this function's behavior is undefined.
189
pub unsafe fn set_size(&self, _ctx: &UI, width: u64, height: u64) {
190
// TODO: Check if the area is scrolling?
191
- unsafe { ui_sys::uiAreaSetSize(self.uiArea, width, height) }
+ unsafe { ui_sys::uiAreaSetSize(self.uiArea, width as i64, height as i64) }
192
}
193
194
/// Queues the entire `Area` to be redrawn. This function returns immediately;
0 commit comments