summaryrefslogtreecommitdiffstats
path: root/core/src/keyboard
diff options
context:
space:
mode:
authorLibravatar Héctor <hector@hecrj.dev>2024-10-02 15:29:35 +0200
committerLibravatar GitHub <noreply@github.com>2024-10-02 15:29:35 +0200
commite504e35146fe3a0f7b6136aefcbc13bbcf00b75d (patch)
tree7e8abd4403b4622bfaafcd3cb42f4c2336554554 /core/src/keyboard
parente086c19a0628a5f9785904972f5aa5ef77cfe1dc (diff)
parent7a86900a45116994a4a175c8979550b28ec0dcfb (diff)
downloadiced-e504e35146fe3a0f7b6136aefcbc13bbcf00b75d.tar.gz
iced-e504e35146fe3a0f7b6136aefcbc13bbcf00b75d.tar.bz2
iced-e504e35146fe3a0f7b6136aefcbc13bbcf00b75d.zip
Merge pull request #2615 from bbb651/wayland-file-dropped-doc
Document Wayland `File*` Events as Unsupported & Fix Typos
Diffstat (limited to 'core/src/keyboard')
-rw-r--r--core/src/keyboard/key.rs2
-rw-r--r--core/src/keyboard/modifiers.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/core/src/keyboard/key.rs b/core/src/keyboard/key.rs
index 479d999b..69a91902 100644
--- a/core/src/keyboard/key.rs
+++ b/core/src/keyboard/key.rs
@@ -203,7 +203,7 @@ pub enum Named {
Standby,
/// The WakeUp key. (`KEYCODE_WAKEUP`)
WakeUp,
- /// Initate the multi-candidate mode.
+ /// Initiate the multi-candidate mode.
AllCandidates,
Alphanumeric,
/// Initiate the Code Input mode to allow characters to be entered by
diff --git a/core/src/keyboard/modifiers.rs b/core/src/keyboard/modifiers.rs
index edbf6d38..00b31882 100644
--- a/core/src/keyboard/modifiers.rs
+++ b/core/src/keyboard/modifiers.rs
@@ -33,7 +33,7 @@ impl Modifiers {
/// This is normally the main modifier to be used for hotkeys.
///
/// On macOS, this is equivalent to `Self::LOGO`.
- /// Ohterwise, this is equivalent to `Self::CTRL`.
+ /// Otherwise, this is equivalent to `Self::CTRL`.
pub const COMMAND: Self = if cfg!(target_os = "macos") {
Self::LOGO
} else {