LeprovostQuentin / mt4j

Automatically exported from code.google.com/p/mt4j
GNU General Public License v2.0
0 stars 0 forks source link

MTImage can add more than one close button if we call setDisplayCloseButton(true) twice #20

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. add MTImage to scene
2. call MTImage.setDisplayCloseButton(true) 
3. call MTImage.setDisplayCloseButton(true) 

What is the expected output? What do you see instead?
Should see one close button.

What version of the product are you using? On what operating system?

version 0.95

Please provide any additional information below.
i change code to 
if (dispClose){
            if(getChildByName("closeButton")!=null){
                return;
            }
...
..
..
It do work

Original issue reported on code.google.com by suwanp...@gmail.com on 9 Feb 2011 at 1:35

GoogleCodeExporter commented 8 years ago

Original comment by sirhc.f...@gmail.com on 11 Feb 2011 at 10:25