diff orpg/mapper/miniatures_handler.py @ 7:2b9e766f9dee grumpy-goblin

Tests fixes issues with Linux GUI effecting miniatures Files: /mapper/miniatures.py /mapper/miniatures_handler.py
author sirebral
date Thu, 16 Jul 2009 14:26:50 -0500
parents 4385a7d0efd1
children 73d9286c22cf
line wrap: on
line diff
--- a/orpg/mapper/miniatures_handler.py	Wed Jul 15 04:06:37 2009 -0500
+++ b/orpg/mapper/miniatures_handler.py	Thu Jul 16 14:26:50 2009 -0500
@@ -583,10 +583,13 @@
                 return
             self.sel_min = mini
             self.sel_min.selected = True
+            """
             dc = wx.ClientDC(self.canvas)
             self.canvas.PrepareDC(dc)
             dc.SetUserScale(self.canvas.layers['grid'].mapscale,self.canvas.layers['grid'].mapscale)
             self.sel_min.draw(dc, self.canvas.layers['miniatures'])
+            """
+            self.canvas.Refresh()
         else:
             self.drag_mini = None
             pos = self.getLogicalPosition(evt)