diff options
| author | jpbruyere <jp.bruyere@hotmail.com> | 2015-10-19 16:49:05 +0200 |
|---|---|---|
| committer | jpbruyere <jp.bruyere@hotmail.com> | 2015-10-19 16:49:05 +0200 |
| commit | 5223bf7dc4f5f085d4bfde7c079a45adf5f344e7 (patch) | |
| tree | 701566767b7a913e75f94d07709a8a4a7b1b0174 /src/GraphicObjects/Spinner.cs | |
| parent | d57ae20644694ed4862785be98d3ead18100315f (diff) | |
Debug
* Spinner.cs: updated with binding system
* OpenTKGameWindow.cs: ensure focused, active and hover widget were
not removed from the graphic tree,
fire MouseButtonUp special event only if threre's no actived widget
* testSpinner.goml: updated to test focus
Diffstat (limited to 'src/GraphicObjects/Spinner.cs')
| -rw-r--r-- | src/GraphicObjects/Spinner.cs | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/GraphicObjects/Spinner.cs b/src/GraphicObjects/Spinner.cs index ea992b18..5336a0bb 100644 --- a/src/GraphicObjects/Spinner.cs +++ b/src/GraphicObjects/Spinner.cs @@ -42,7 +42,6 @@ namespace go protected override void loadTemplate (GraphicObject template = null) { base.loadTemplate (template); - labCpt = this.child.FindByName ("labCpt") as Label; } #endregion @@ -54,7 +53,6 @@ namespace go // return; Value += this.SmallIncrement; - labCpt.Text = Value.ToString (); } void onDown (object sender, MouseButtonEventArgs e) { @@ -63,7 +61,6 @@ namespace go // return; Value -= this.SmallIncrement; - labCpt.Text = Value.ToString (); } } |