From: <lyn...@us...> - 2009-09-15 19:40:39
|
Revision: 7175 http://gemrb.svn.sourceforge.net/gemrb/?rev=7175&view=rev Author: lynxlupodian Date: 2009-09-15 19:40:32 +0000 (Tue, 15 Sep 2009) Log Message: ----------- LUSpellSelection: indentation cleanup in HideUnhideScrollBar Modified Paths: -------------- gemrb/trunk/gemrb/GUIScripts/LUSpellSelection.py Modified: gemrb/trunk/gemrb/GUIScripts/LUSpellSelection.py =================================================================== --- gemrb/trunk/gemrb/GUIScripts/LUSpellSelection.py 2009-09-15 19:38:54 UTC (rev 7174) +++ gemrb/trunk/gemrb/GUIScripts/LUSpellSelection.py 2009-09-15 19:40:32 UTC (rev 7175) @@ -508,16 +508,14 @@ ScrollBar = SpellsWindow.GetControl (1000) if hide == 1: - ScrollBar.SetPos(-1,-1) + scrollx = -1 + scrolly = -1 else: - scrollx = 0 - scrolly = 0 + if chargen: + scrollx = 325 + scrolly = 42 + else: + scrollx = 290 + scrolly = 142 - if chargen: - scrollx = 325 - scrolly = 42 - else: - scrollx = 290 - scrolly = 142 - - ScrollBar.SetPos(scrollx,scrolly) + ScrollBar.SetPos (scrollx, scrolly) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |