mirror of
https://github.com/eliasstepanik/imgui-rs.git
synced 2026-01-11 21:48:36 +00:00
Fix formatting
This commit is contained in:
parent
6ac40b1100
commit
42150784cb
@ -292,9 +292,7 @@ impl<'ui, 'p> ColorPicker<'ui, 'p> {
|
||||
if let EditableColor::Float3(_) = self.value {
|
||||
self.flags.insert(ImGuiColorEditFlags::NoAlpha);
|
||||
}
|
||||
let ref_color = self.ref_color.map(|c| c.as_ptr()).unwrap_or(
|
||||
ptr::null(),
|
||||
);
|
||||
let ref_color = self.ref_color.map(|c| c.as_ptr()).unwrap_or(ptr::null());
|
||||
unsafe {
|
||||
imgui_sys::igColorPicker4(
|
||||
self.label.as_ptr(),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user