From 03499f7449e607e20bee81ba42213e39e308dfff Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Thu, 2 Jun 2022 23:55:17 -0700 Subject: [PATCH] switch freehand hotkey to eliminate conflict with search I'm now following Inkscape, and the mnemonic is 'pencil'. --- drawing.lua | 2 +- help.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drawing.lua b/drawing.lua index a2da9c4..4c5d76b 100644 --- a/drawing.lua +++ b/drawing.lua @@ -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' diff --git a/help.lua b/help.lua index e80c823..e55973e 100644 --- a/help.lua +++ b/help.lua @@ -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