mirror of
git://projects.qi-hardware.com/fped.git
synced 2024-12-22 13:30:49 +02:00
gui_canvas.c (key_press_event): make / rotate through packages as well
This commit is contained in:
parent
15e5811aea
commit
5fdea0e99a
2
README
2
README
@ -564,7 +564,7 @@ Space reset user coordinates
|
||||
* zoom and center to extents
|
||||
# zoom and center to currently active frame instance
|
||||
U undelete the previously deleted object
|
||||
/ Switch between variable and item display.
|
||||
/ Switch between variables, code, and packages display.
|
||||
|
||||
|
||||
Canvas
|
||||
|
@ -451,7 +451,7 @@ static gboolean key_press_event(GtkWidget *widget, GdkEventKey *event,
|
||||
change_world();
|
||||
break;
|
||||
case '/':
|
||||
sidebar = sidebar == sidebar_var ? sidebar_code : sidebar_var;
|
||||
sidebar = sidebar == sidebar_last ? 0 : sidebar + 1;
|
||||
change_world();
|
||||
break;
|
||||
}
|
||||
|
@ -23,6 +23,7 @@ enum sidebar {
|
||||
sidebar_var, /* show variables */
|
||||
sidebar_code, /* show code */
|
||||
sidebar_pkg, /* show packages */
|
||||
sidebar_last = sidebar_pkg
|
||||
};
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user