Skip to content

Commit

Permalink
Merge branch 'master' into bja/togglerotate
Browse files Browse the repository at this point in the history
  • Loading branch information
bjarthur authored Oct 11, 2024
2 parents 9ef4860 + 2acd423 commit d29d9ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/makielayout/blocks/textbox.jl
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ function initialize_block!(tbox::Textbox)
removechar!(cursorindex[])
elseif key == Keyboard.delete
removechar!(cursorindex[] + 1)
elseif key == Keyboard.enter
elseif key == Keyboard.enter || key == Keyboard.kp_enter
# don't do anything for invalid input which should stay red
if displayed_is_valid[]
# submit the written text
Expand Down

0 comments on commit d29d9ad

Please sign in to comment.