mirror of https://github.com/GNOME/gimp.git
switched meaning of Ctrl and Shift modifiers used with the mouse scroll
2005-02-05 Sven Neumann <sven@gimp.org> * app/display/gimpdisplayshell-callbacks.c (gimp_display_shell_canvas_tool_events): switched meaning of Ctrl and Shift modifiers used with the mouse scroll wheel. The HIG suggests to use Ctrl for zooming and it makes GIMP more consistent with other apps (for example Inkscape).
This commit is contained in:
parent
692669f4d8
commit
c3bb11def3
|
@ -1,3 +1,11 @@
|
|||
2005-02-05 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* app/display/gimpdisplayshell-callbacks.c
|
||||
(gimp_display_shell_canvas_tool_events): switched meaning of Ctrl
|
||||
and Shift modifiers used with the mouse scroll wheel. The HIG
|
||||
suggests to use Ctrl for zooming and it makes GIMP more consistent
|
||||
with other apps (for example Inkscape).
|
||||
|
||||
2005-02-05 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* libgimpconfig/gimpconfig-params.h: renamed GIMP_PARAM_ #defines
|
||||
|
|
|
@ -858,7 +858,7 @@ gimp_display_shell_canvas_tool_events (GtkWidget *canvas,
|
|||
|
||||
direction = sevent->direction;
|
||||
|
||||
if (state & GDK_SHIFT_MASK)
|
||||
if (state & GDK_CONTROL_MASK)
|
||||
{
|
||||
switch (direction)
|
||||
{
|
||||
|
@ -879,7 +879,7 @@ gimp_display_shell_canvas_tool_events (GtkWidget *canvas,
|
|||
GtkAdjustment *adj = NULL;
|
||||
gdouble value;
|
||||
|
||||
if (state & GDK_CONTROL_MASK)
|
||||
if (state & GDK_SHIFT_MASK)
|
||||
switch (direction)
|
||||
{
|
||||
case GDK_SCROLL_UP: direction = GDK_SCROLL_LEFT; break;
|
||||
|
|
Loading…
Reference in New Issue