[examples] test_window_impl: Add "Close" button to stacked modals

The "Close" button was forgotten in previous commits.
This commit is contained in:
Malik Olivier Boussejra 2018-09-28 13:18:43 +09:00
parent 4e328d3bba
commit 4f360b8edf

View File

@ -697,6 +697,10 @@ CTRL+click on individual component to input value.\n",
ui.close_current_popup();
}
});
if ui.button(im_str!("Close"), (0.0, 0.0)) {
ui.close_current_popup();
}
});
});
}