Created
January 24, 2014 02:22
-
-
Save johnbintz/8590989 to your computer and use it in GitHub Desktop.
Make space in Inkscape toggle tools only
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
=== modified file 'src/ui/tools/tool-base.cpp' | |
--- src/ui/tools/tool-base.cpp 2014-01-20 01:30:15 +0000 | |
+++ src/ui/tools/tool-base.cpp 2014-01-24 02:16:47 +0000 | |
@@ -689,13 +689,7 @@ | |
break; | |
case GDK_KEY_space: | |
- xp = yp = 0; | |
- within_tolerance = true; | |
- panning = 4; | |
- | |
- this->space_panning = true; | |
- this->message_context->set(Inkscape::INFORMATION_MESSAGE, | |
- _("<b>Space+mouse move</b> to pan canvas")); | |
+ sp_toggle_selector(desktop); | |
ret = TRUE; | |
break; | |
@@ -741,7 +735,7 @@ | |
case GDK_KEY_space: | |
if (within_tolerance == true) { | |
// Space was pressed, but not panned | |
- sp_toggle_selector(desktop); | |
+ //sp_toggle_selector(desktop); | |
ret = TRUE; | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment