OSDN Git Service

Fixed hovertext display
authorLatif Khalifa <latifer@streamgrid.net>
Fri, 22 Feb 2013 11:34:37 +0000 (12:34 +0100)
committerLatif Khalifa <latifer@streamgrid.net>
Fri, 22 Feb 2013 11:34:37 +0000 (12:34 +0100)
Radegast/GUI/Rendering/Rendering.cs

index 858739f..70e40ed 100644 (file)
@@ -1538,7 +1538,7 @@ namespace Radegast.Rendering
                         screenPos.X -= size.Width / 2;
                         screenPos.Y -= size.Height;
 
-                        if (screenPos.Y > 0)
+                        if (screenPos.Y + size.Height > 0)
                         {
                             if (pass == RenderPass.Picking)
                             {