r15392 by craig - #9293: Also check if a palette is off to the left of the screen

scribus-commit scribus-commit at lists.scribus.net
Fri Jul 30 23:27:27 CEST 2010


Author: craig
Date: Fri Jul 30 21:27:27 2010
New Revision: 15392

URL: http://scribus.info/websvn/listing.php?repname=Scribus&sc=1&rev=15392
Log:
#9293: Also check if a palette is off to the left of the screen

Modified:
    branches/Version135/Scribus/scribus/scrpalettebase.cpp

Modified: branches/Version135/Scribus/scribus/scrpalettebase.cpp
URL: http://scribus.info/websvn/diff.php?repname=Scribus&rev=15392&path=/branches/Version135/Scribus/scribus/scrpalettebase.cpp
==============================================================================
--- branches/Version135/Scribus/scribus/scrpalettebase.cpp (original)
+++ branches/Version135/Scribus/scribus/scrpalettebase.cpp Fri Jul 30 21:27:27 2010
@@ -194,6 +194,8 @@
 			vtop    = qMax(-vheight + gStrut.height(), vtop);
 #endif
 			// Check values against current screen size
+			if ( vleft <= scr.left() )
+				vleft = scr.left();
 			if ( vleft >= scr.right() )
 				vleft = scr.left();
 			if ( vtop >= scr.bottom() )




More information about the scribus-commit mailing list