Set window theme to match color scheme of active theme
This commit is contained in:
parent
e92c87061d
commit
74425d5cb1
4 changed files with 40 additions and 6 deletions
|
|
@ -1207,7 +1207,7 @@ pub fn icon(icon: window::Icon) -> Option<winit::window::Icon> {
|
|||
winit::window::Icon::from_rgba(pixels, size.width, size.height).ok()
|
||||
}
|
||||
|
||||
/// Convertions some [`input_method::Purpose`] into its `winit` counterpart.
|
||||
/// Converts some [`input_method::Purpose`] into its `winit` counterpart.
|
||||
pub fn ime_purpose(
|
||||
purpose: input_method::Purpose,
|
||||
) -> winit::window::ImePurpose {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue