aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/GraphicObjects/Label.cs
diff options
context:
space:
mode:
authorjpbruyere <jp.bruyere@hotmail.com>2015-09-21 08:30:08 +0200
committerjpbruyere <jp.bruyere@hotmail.com>2015-09-21 08:30:09 +0200
commitf662d49464e2b8326522aad67761ffdcb8a5e5f6 (patch)
treef767f75977721299da029518ec938bfa0366597b /src/GraphicObjects/Label.cs
parentdb3a636d9c4de1e4ee1d4e79e6dfeae738daac8d (diff)
* BmpPicture.cs:
allow unscalled picture * GraphicObject.cs: background image path, problems with repaint of background * Group.cs: background image * HorizontalStack.cs: clean code * Label.cs: debug * TemplatedContainer.cs: fix dataSource==null to clear binding successfully * Window.cs: resizable or not * OpenTKGameWindow.cs: RenderCustomTextureOnUIQuad (usefull for cached content) * Picture.cs: Scale boolean * ListBox.cs: remove debug loading time
Diffstat (limited to 'src/GraphicObjects/Label.cs')
-rwxr-xr-xsrc/GraphicObjects/Label.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/GraphicObjects/Label.cs b/src/GraphicObjects/Label.cs
index 68de029e..94c13790 100755
--- a/src/GraphicObjects/Label.cs
+++ b/src/GraphicObjects/Label.cs
@@ -527,9 +527,9 @@ namespace go
{
base.onMouseMove (sender, e);
- if ((sender as OpenTKGameWindow).activeWidget != this)
+ IGOLibHost glh = TopContainer;
+ if (glh.activeWidget != this)
return;
-
if (!Selectable)
return;