mirror of
https://github.com/eliasstepanik/imgui-rs.git
synced 2026-01-13 06:28:36 +00:00
Fix Rust 1.20 compatibility
This commit is contained in:
parent
a7581e73c0
commit
bafb7e42c6
@ -93,7 +93,7 @@ impl ImGuiCol {
|
||||
pub const ColumnActive: ImGuiCol = ImGuiCol::SeparatorActive;
|
||||
pub fn values() -> &'static [ImGuiCol] {
|
||||
use ImGuiCol::*;
|
||||
&[
|
||||
static values: &'static [ImGuiCol] = &[
|
||||
Text,
|
||||
TextDisabled,
|
||||
WindowBg,
|
||||
@ -137,7 +137,8 @@ impl ImGuiCol {
|
||||
PlotHistogramHovered,
|
||||
TextSelectedBg,
|
||||
ModalWindowDarkening,
|
||||
]
|
||||
];
|
||||
values
|
||||
}
|
||||
}
|
||||
pub const ImGuiCol_COUNT: usize = 43;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user