mirror of https://github.com/GNOME/gimp.git
plug-ins/script-fu/scripts/guides-new.scm allow guides at the right and
2006-01-24 Michael Natterer <mitch@gimp.org> * plug-ins/script-fu/scripts/guides-new.scm * plug-ins/script-fu/scripts/guides-new-percent.scm: allow guides at the right and bottom edges of the canvas. Fixes bug #328320.
This commit is contained in:
parent
32de28295a
commit
d2ff272f1d
|
@ -1,3 +1,9 @@
|
|||
2006-01-24 Michael Natterer <mitch@gimp.org>
|
||||
|
||||
* plug-ins/script-fu/scripts/guides-new.scm
|
||||
* plug-ins/script-fu/scripts/guides-new-percent.scm: allow guides
|
||||
at the right and bottom edges of the canvas. Fixes bug #328320.
|
||||
|
||||
2006-01-21 Simon Budig <simon@gimp.org>
|
||||
|
||||
* desktop/gimp.desktop.in.in: Added "GTK" category. Fixes
|
||||
|
|
|
@ -16,8 +16,8 @@
|
|||
|
||||
(if (= direction 0)
|
||||
;; convert position to pixel
|
||||
(if (< position height) (gimp-image-add-hguide image position))
|
||||
(if (< position width) (gimp-image-add-vguide image position)))
|
||||
(if (<= position height) (gimp-image-add-hguide image position))
|
||||
(if (<= position width) (gimp-image-add-vguide image position)))
|
||||
|
||||
(gimp-displays-flush)))
|
||||
|
||||
|
|
|
@ -13,8 +13,8 @@
|
|||
|
||||
(if (= direction 0)
|
||||
;; check position is inside the image boundaries
|
||||
(if (< position height) (gimp-image-add-hguide image position))
|
||||
(if (< position width) (gimp-image-add-vguide image position)))
|
||||
(if (<= position height) (gimp-image-add-hguide image position))
|
||||
(if (<= position width) (gimp-image-add-vguide image position)))
|
||||
|
||||
(gimp-displays-flush)))
|
||||
|
||||
|
|
Loading…
Reference in New Issue