Rename 'path' mode to 'fhpath' (freehand path)

git-svn-id: http://svg-edit.googlecode.com/svn/trunk@841 eee81c28-f429-11dd-99c0-75d572ba1ddd
This commit is contained in:
Jeff Schiller
2009-10-18 20:04:26 +00:00
parent d71d97b678
commit 0cdbb8d584
4 changed files with 9 additions and 9 deletions

View File

@@ -562,9 +562,9 @@ function svg_edit_setup() {
}
};
var clickPath = function() {
if (toolButtonClick('#tool_path')) {
svgCanvas.setMode('path');
var clickFHPath = function() {
if (toolButtonClick('#tool_fhpath')) {
svgCanvas.setMode('fhpath');
}
};
@@ -882,7 +882,7 @@ function svg_edit_setup() {
});
$('#tool_select').click(clickSelect);
$('#tool_path').click(clickPath);
$('#tool_fhpath').click(clickFHPath);
$('#tool_line').click(clickLine);
$('#tool_square').mouseup(clickSquare);
$('#tool_rect').mouseup(clickRect);
@@ -971,7 +971,7 @@ function svg_edit_setup() {
function setKeyBindings() {
var keys = [
['1', clickSelect],
['2', clickPath],
['2', clickFHPath],
['3', clickLine],
['Shift+4', clickSquare],
['4', clickRect],