Skip to content

Conversation

@mwcampbell
Copy link
Contributor

Closes #2341.

@mwcampbell mwcampbell changed the title Fix keyboard usage of DragValue Fix keyboard support in DragValue Nov 24, 2022
@mwcampbell mwcampbell marked this pull request as ready for review November 24, 2022 18:09
Copy link
Owner

@emilk emilk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, but I would like to keep the behavior of pressing right and left!

@emilk emilk merged commit 0336816 into emilk:master Nov 29, 2022
@emilk
Copy link
Owner

emilk commented Nov 29, 2022

Thanks!

emilk added a commit that referenced this pull request Dec 2, 2022
* Enable incrementing and decrementing `DragValue` with the keyboard

* As soon as a DragValue is focused, render it in edit mode

* Simpler, more reliable approach to managing the drag value's edit string

* Add changelog entry

* Update doc comment

Co-authored-by: Emil Ernerfeldt <[email protected]>

* Add comment explaining why we don't listen for left/right arrow

Co-authored-by: Emil Ernerfeldt <[email protected]>
JohannesProgrammiert pushed a commit to JohannesProgrammiert/egui that referenced this pull request Jan 21, 2023
* Enable incrementing and decrementing `DragValue` with the keyboard

* As soon as a DragValue is focused, render it in edit mode

* Simpler, more reliable approach to managing the drag value's edit string

* Add changelog entry

* Update doc comment

Co-authored-by: Emil Ernerfeldt <[email protected]>

* Add comment explaining why we don't listen for left/right arrow

Co-authored-by: Emil Ernerfeldt <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

DragValue keyboard operation is broken

2 participants