[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdetoys/amor
From:       Luis Passos <lpassos () oninetspeed ! pt>
Date:       2003-11-05 20:02:14
[Download RAW message or body]

CVS commit by lpassos: 

Prevent tips from being outside the screen (negative ypos).
Fixes bug 57529.


  M +4 -0      amorbubble.cpp   1.14


--- kdetoys/amor/amorbubble.cpp  #1.13:1.14
@@ -115,4 +115,8 @@ void AmorBubble::calcGeometry()
     }
 
+    // Check for negative vertical bubble position (top of the screen)
+    if ( ypos < 0 )
+       ypos = 0;
+
     setGeometry(xpos, ypos, w, h);
     mBrowser->setGeometry( mBound );


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic