switch freehand hotkey to eliminate conflict with search

I'm now following Inkscape, and the mnemonic is 'pencil'.
This commit is contained in:
Kartik K. Agaram 2022-06-02 23:55:17 -07:00
parent 8047ab9b89
commit 03499f7449
2 changed files with 2 additions and 2 deletions

View File

@ -355,7 +355,7 @@ function Drawing.mouse_released(x,y, button)
end
function Drawing.keychord_pressed(chord)
if chord == 'C-f' and not love.mouse.isDown('1') then
if chord == 'C-p' and not love.mouse.isDown('1') then
Current_drawing_mode = 'freehand'
elseif chord == 'C-g' and not love.mouse.isDown('1') then
Current_drawing_mode = 'polygon'

View File

@ -17,7 +17,7 @@ function draw_help_without_mouse_pressed(drawing)
y = y + Line_height
y = y + Line_height
if Current_drawing_mode ~= 'freehand' then
love.graphics.print("* Press 'ctrl+f' to switch to drawing freehand strokes", 16+30,y)
love.graphics.print("* Press 'ctrl+p' to switch to drawing freehand strokes", 16+30,y)
y = y + Line_height
end
if Current_drawing_mode ~= 'line' then