Fix CI (#3775)
This commit is contained in:
parent
1170554dbd
commit
850dd97177
2 changed files with 4 additions and 2 deletions
|
|
@ -30,7 +30,9 @@ pub trait EventLoopExtRunOnDemand {
|
||||||
/// # Caveats
|
/// # Caveats
|
||||||
/// - This extension isn't available on all platforms, since it's not always possible to return
|
/// - This extension isn't available on all platforms, since it's not always possible to return
|
||||||
/// to the caller (specifically this is impossible on iOS and Web - though with the Web
|
/// to the caller (specifically this is impossible on iOS and Web - though with the Web
|
||||||
/// backend it is possible to use `EventLoopExtWebSys::spawn()`[^1] more than once instead).
|
/// backend it is possible to use `EventLoopExtWebSys::spawn()`
|
||||||
|
#[cfg_attr(not(web_platform), doc = "[^1]")]
|
||||||
|
/// more than once instead).
|
||||||
/// - No [`Window`] state can be carried between separate runs of the event loop.
|
/// - No [`Window`] state can be carried between separate runs of the event loop.
|
||||||
///
|
///
|
||||||
/// You are strongly encouraged to use [`EventLoop::run_app()`] for portability, unless you
|
/// You are strongly encouraged to use [`EventLoop::run_app()`] for portability, unless you
|
||||||
|
|
|
||||||
|
|
@ -556,7 +556,7 @@ impl PartialKeyEventInfo {
|
||||||
// We convert dead keys into their character.
|
// We convert dead keys into their character.
|
||||||
// The reason for this is that `key_without_modifiers` is designed for key-bindings,
|
// The reason for this is that `key_without_modifiers` is designed for key-bindings,
|
||||||
// but the US International layout treats `'` (apostrophe) as a dead key and the
|
// but the US International layout treats `'` (apostrophe) as a dead key and the
|
||||||
// reguar US layout treats it a character. In order for a single binding
|
// regular US layout treats it a character. In order for a single binding
|
||||||
// configuration to work with both layouts, we forward each dead key as a character.
|
// configuration to work with both layouts, we forward each dead key as a character.
|
||||||
Key::Dead(k) => {
|
Key::Dead(k) => {
|
||||||
if let Some(ch) = k {
|
if let Some(ch) = k {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue