switch freehand hotkey to eliminate conflict with search
I'm now following Inkscape, and the mnemonic is 'pencil'.
This commit is contained in:
parent
8047ab9b89
commit
03499f7449
|
@ -355,7 +355,7 @@ function Drawing.mouse_released(x,y, button)
|
||||||
end
|
end
|
||||||
|
|
||||||
function Drawing.keychord_pressed(chord)
|
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'
|
Current_drawing_mode = 'freehand'
|
||||||
elseif chord == 'C-g' and not love.mouse.isDown('1') then
|
elseif chord == 'C-g' and not love.mouse.isDown('1') then
|
||||||
Current_drawing_mode = 'polygon'
|
Current_drawing_mode = 'polygon'
|
||||||
|
|
2
help.lua
2
help.lua
|
@ -17,7 +17,7 @@ function draw_help_without_mouse_pressed(drawing)
|
||||||
y = y + Line_height
|
y = y + Line_height
|
||||||
y = y + Line_height
|
y = y + Line_height
|
||||||
if Current_drawing_mode ~= 'freehand' then
|
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
|
y = y + Line_height
|
||||||
end
|
end
|
||||||
if Current_drawing_mode ~= 'line' then
|
if Current_drawing_mode ~= 'line' then
|
||||||
|
|
Loading…
Reference in New Issue