rename config_windows_memory_compact_timer => config_memory_compact_timer to match c++

This commit is contained in:
Thom Chiovoloni 2021-02-01 07:56:22 -08:00
parent f5cb071844
commit a475ff90e9
2 changed files with 4 additions and 2 deletions

View File

@ -36,6 +36,8 @@
- A large number of small functions are now `#[inline]`, but many still aren't, so you probably will want to build with LTO for release builds if you use `imgui` heavily.
- The `io.config_windows_memory_compact_timer` flag has been renamed to `io.config_memory_compact_timer`. This follows the similar rename in the C++ ImGui, and was done because it no longer only applies to window memory usage.
## [0.6.1] - 2020-12-16
- Support for winit 0.24.x

View File

@ -200,10 +200,10 @@ pub struct Io {
///
/// Windows without a title bar are not affected.
pub config_windows_move_from_title_bar_only: bool,
/// Compact window memory usage when unused.
/// Compact memory usage when unused.
///
/// Set to -1.0 to disable.
pub config_windows_memory_compact_timer: f32,
pub config_memory_compact_timer: f32,
pub(crate) backend_platform_name: *const c_char,
pub(crate) backend_renderer_name: *const c_char,