mirror of https://github.com/GNOME/gimp.git
if dot_for_dot is off, resolution change has the same effect as size
2004-11-10 Michael Natterer <mitch@gimp.org> * app/display/gimpdisplayshell-handlers.c (gimp_display_shell_resolution_changed_handler): if dot_for_dot is off, resolution change has the same effect as size change, so call gimp_display_shell_size_changed_handler(). Fixes display garbage.
This commit is contained in:
parent
1309a075cf
commit
a7037f9d26
|
@ -1,3 +1,10 @@
|
|||
2004-11-10 Michael Natterer <mitch@gimp.org>
|
||||
|
||||
* app/display/gimpdisplayshell-handlers.c
|
||||
(gimp_display_shell_resolution_changed_handler): if dot_for_dot is
|
||||
off, resolution change has the same effect as size change, so call
|
||||
gimp_display_shell_size_changed_handler(). Fixes display garbage.
|
||||
|
||||
2004-11-10 Michael Natterer <mitch@gimp.org>
|
||||
|
||||
* plug-ins/winicon/icodialog.[ch]
|
||||
|
|
|
@ -400,8 +400,15 @@ static void
|
|||
gimp_display_shell_resolution_changed_handler (GimpImage *gimage,
|
||||
GimpDisplayShell *shell)
|
||||
{
|
||||
gimp_display_shell_scale_setup (shell);
|
||||
gimp_display_shell_scaled (shell);
|
||||
if (shell->dot_for_dot)
|
||||
{
|
||||
gimp_display_shell_scale_setup (shell);
|
||||
gimp_display_shell_scaled (shell);
|
||||
}
|
||||
else
|
||||
{
|
||||
gimp_display_shell_size_changed_handler (gimage, shell);
|
||||
}
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in New Issue