mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-07-04 01:43:24 +00:00
display: Fix copy/paste typo for UNSCALEY
In 9fe8e849
, we accidentally used UNSCALEX
rather than UNSCALEY for offset_y. This patch
corrects that typo.
This commit is contained in:
parent
6475f0a6dc
commit
4eb462a7a4
1 changed files with 2 additions and 2 deletions
|
@ -167,7 +167,7 @@ gimp_display_shell_canvas_tick (GtkWidget *widget,
|
|||
SQR (tick->prev_height)));
|
||||
|
||||
offset_x = UNSCALEX (shell, shell->offset_x);
|
||||
offset_y = UNSCALEX (shell, shell->offset_y);
|
||||
offset_y = UNSCALEY (shell, shell->offset_y);
|
||||
|
||||
gimp_zoom_model_zoom (shell->zoom, GIMP_ZOOM_TO, scale);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue