[labyrinth commit] r346 - in trunk: . src

0 views
Skip to first unread message

codesite...@google.com

unread,
Feb 26, 2009, 6:45:10 PM2/26/09
to labyrinth-...@googlegroups.com
Author: mas...@ma-scha.de
Date: Thu Feb 26 14:00:49 2009
New Revision: 346

Modified:
trunk/ChangeLog
trunk/src/MMapArea.py

Log:
o Fix issue 135. Thanks to wks1985 for the patch.


Modified: trunk/ChangeLog
==============================================================================
--- trunk/ChangeLog (original)
+++ trunk/ChangeLog Thu Feb 26 14:00:49 2009
@@ -1,3 +1,8 @@
+2009-02-26 Martin Schaaf <mas...@ma-scha.de>
+
+ * src/MMapArea.py
+ Fix issue 135. Thanks to wks1985 for the patch.
+
2008-09-25 Matthias Vogelgesang <matthias.v...@gmail.com>

* src/MMapArea.py

Modified: trunk/src/MMapArea.py
==============================================================================
--- trunk/src/MMapArea.py (original)
+++ trunk/src/MMapArea.py Thu Feb 26 14:00:49 2009
@@ -797,7 +797,7 @@
height = area.height / self.scale_fac
for t in self.thoughts:
try:
- if t.lr[0] >= ax and t.ul[0] <= ax + width and t.lr[1] <= ay + height
and t.ul[1] >= ay:
+ if max(t.ul[0],ax)<=min(t.lr[0],ax+width) and
max(t.ul[1],ay)<=min(t.lr[1],ay+height0):
t.draw (context)
except:
t.draw(context)

Reply all
Reply to author
Forward
0 new messages