ndt-dev - [ndt-dev] [ndt] r1132 committed - FlashIssue160 Fixed problem with debug button when CONFIG::debug is se...
Subject: NDT-DEV email list created
List archive
[ndt-dev] [ndt] r1132 committed - FlashIssue160 Fixed problem with debug button when CONFIG::debug is se...
Chronological Thread
- From:
- To:
- Subject: [ndt-dev] [ndt] r1132 committed - FlashIssue160 Fixed problem with debug button when CONFIG::debug is se...
- Date: Mon, 03 Nov 2014 11:42:24 +0000
Revision: 1132
Author:
Date: Mon Nov 3 11:41:51 2014 UTC
Log: FlashIssue160 Fixed problem with debug button when CONFIG::debug is set to false
https://code.google.com/p/ndt/source/detail?r=1132
Modified:
/branches/FlashClientFixes/flash-client/src/GUI.as
=======================================
--- /branches/FlashClientFixes/flash-client/src/GUI.as Fri Jun 20 08:55:48 2014 UTC
+++ /branches/FlashClientFixes/flash-client/src/GUI.as Mon Nov 3 11:41:51 2014 UTC
@@ -256,12 +256,14 @@
verticalMargin = _stageHeight / 6;
_resultsButton.y = verticalMargin;
_detailsButton.y = _resultsButton.y + verticalMargin;
- _debugButton.y = _detailsButton.y + verticalMargin;
+ if (_debugButton)
+ _debugButton.y = _detailsButton.y + verticalMargin;
_restartButton.y = CONFIG::debug ? _debugButton.y + verticalMargin
: _detailsButton.y + verticalMargin;
_resultsButton.x += _resultsButton.width / 2;
_detailsButton.x += _detailsButton.width / 2;
- _debugButton.x += _debugButton.width / 2;
+ if (_debugButton)
+ _debugButton.x += _debugButton.width / 2;
_restartButton.x += _restartButton.width / 2;
this.addChild(_resultsButton);
- [ndt-dev] [ndt] r1132 committed - FlashIssue160 Fixed problem with debug button when CONFIG::debug is se..., ndt, 11/03/2014
Archive powered by MHonArc 2.6.16.