r14607 by jghali - fix dash editor issue : cursors could potentially go out of preview on mouse release

scribus-commit scribus-commit at lists.scribus.net
Mon Feb 1 19:55:36 CET 2010


Revision: 14607
Author: jghali
Date: 2010-01-31T17:33:04.642947Z
Commit message: fix dash editor issue : cursors could potentially go out of preview on mouse release

Changeset: 
M  /trunk/Scribus/scribus/ui/dasheditor.cpp

Diffs:
Index: scribus/ui/dasheditor.cpp
===================================================================
--- scribus/ui/dasheditor.cpp	(revision 14606)
+++ scribus/ui/dasheditor.cpp	(revision 14607)
@@ -150,7 +150,7 @@
 		emit dashChanged();
 		return;
 	}
-	if ((m->y() < height()) && (m->y() > 16) && (m->x() > 0) && (m->x() < width()))
+	if ((m->y() < height()) && (m->y() > 16) && (m->x() > 9) && (m->x() < width() - 9))
 	{
 		if (ActStop != -1)
 		{




More information about the scribus-commit mailing list