Merge branch 'master' into wgpu/better-architecture
This commit is contained in:
commit
13289dbd19
41 changed files with 318 additions and 267 deletions
|
|
@ -713,7 +713,8 @@ where
|
|||
|
||||
match key.as_ref() {
|
||||
keyboard::Key::Character("c")
|
||||
if state.keyboard_modifiers.command() =>
|
||||
if state.keyboard_modifiers.command()
|
||||
&& !self.is_secure =>
|
||||
{
|
||||
if let Some((start, end)) =
|
||||
state.cursor.selection(&self.value)
|
||||
|
|
@ -727,7 +728,8 @@ where
|
|||
return event::Status::Captured;
|
||||
}
|
||||
keyboard::Key::Character("x")
|
||||
if state.keyboard_modifiers.command() =>
|
||||
if state.keyboard_modifiers.command()
|
||||
&& !self.is_secure =>
|
||||
{
|
||||
if let Some((start, end)) =
|
||||
state.cursor.selection(&self.value)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue