swap copy and paste menu buttons

Scenario: every once in a while I try to paste on my phone (in the
overflow menu) and fat finger and tap 'clear' next to it instead.

I could try adding space between the buttons in the overflow menu, but
that creates cascading issues of how it should look. Swapping these two
buttons is a hacky way to ensure that buttons that mutate the buffer
are never side by side.
This commit is contained in:
Kartik K. Agaram 2024-03-17 08:04:13 -07:00
parent c413f281cf
commit ff27ad6ad4
1 changed files with 1 additions and 1 deletions

View File

@ -29,8 +29,8 @@ draw_menu = function()
end
x, y = save_button(x, y, r)
x, y = load_button(x, y, r)
x, y = copy_button(x, y, r)
x, y = paste_button(x, y, r)
x, y = copy_button(x, y, r)
x, y = clear_pane_button(x, y, r)
if not Overflow_button then
local w = Font:getWidth('screen')+10