Commit d2ff272f authored by Michael Natterer's avatar Michael Natterer 😴 Committed by Michael Natterer

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.
parent 32de2829
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)))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment