Changeset 275:678be1afc307


Ignore:
Timestamp:
Sep 5, 2009, 2:15:35 PM (11 years ago)
Author:
Simon Cross <hodgestar@…>
Branch:
default
Convert:
svn:b4e93282-eac8-4b8b-b765-0f5d36de2b68@276
Message:

Fix minor bug in clearing of tool state on right-click.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gamelib/gameboard.py

    r272 r275  
    339339            return
    340340        if e.button == 3: # Right button
    341             self.selected_tool = None
    342             self.set_cursor()
     341            self.set_selected_tool(None, None)
     342            self.toolbar.clear_tool()
    343343        elif e.button != 1: # Left button
    344344            return
Note: See TracChangeset for help on using the changeset viewer.