r14606 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:19 CET 2010


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

Changeset: 
M  /branches/Version135/Scribus/scribus/dasheditor.cpp

Diffs:
Index: scribus/dasheditor.cpp
===================================================================
--- scribus/dasheditor.cpp	(revision 14605)
+++ scribus/dasheditor.cpp	(revision 14606)
@@ -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