[pychess] push by gbtami - Fixed score panel drawing regression when move count was big enough to... on 2015-01-18 13:57 GMT

0 views
Skip to first unread message

pyc...@googlecode.com

unread,
Jan 18, 2015, 8:57:18 AM1/18/15
to pychess...@googlegroups.com
Revision: 9cd20aca601d
Branch: default
Author: gbtami
Date: Sun Jan 18 13:56:39 2015 UTC
Log: Fixed score panel drawing regression when move count was big
enough to panel have to scoll
https://code.google.com/p/pychess/source/detail?r=9cd20aca601d

Modified:
/sidepanel/scorePanel.py

=======================================
--- /sidepanel/scorePanel.py Tue Dec 30 16:34:48 2014 UTC
+++ /sidepanel/scorePanel.py Sun Jan 18 13:56:39 2015 UTC
@@ -197,8 +197,7 @@
self.grab_focus()
self.emit('selected', event.y/self.moveHeight)

- def expose (self, widget, ctx):
- context = widget.get_window().cairo_create()
+ def expose (self, widget, context):
a = widget.get_allocation()
context.rectangle(a.x, a.y,
a.width, a.height)
Reply all
Reply to author
Forward
0 new messages