mirror of
https://github.com/eliasstepanik/imgui-rs.git
synced 2026-01-17 08:28:44 +00:00
Can't have field shorthands in 1.16 :'(
This commit is contained in:
parent
96fe2a8e15
commit
c17157b6ec
@ -20,7 +20,7 @@ pub struct ChildFrame<'ui, 'p> {
|
||||
impl<'ui, 'p> ChildFrame<'ui, 'p> {
|
||||
pub fn new<S: Into<ImVec2>>(_: &Ui<'ui>, name: &'p ImStr, size: S) -> ChildFrame<'ui, 'p> {
|
||||
ChildFrame {
|
||||
name,
|
||||
name: name,
|
||||
size: size.into(),
|
||||
flags: ImGuiWindowFlags::empty(),
|
||||
_phantom: PhantomData,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user