Skip to content

Commit

Permalink
Merge pull request cocos2d#12314 from xiaofeng11/v3_xiaofeng
Browse files Browse the repository at this point in the history
Fix when button reader bug
  • Loading branch information
pandamicro committed Jun 15, 2015
2 parents 0c1347a + 8d19ea7 commit c9c05ff
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -929,6 +929,8 @@ namespace cocostudio
Size contentSize(options->widgetOptions()->size()->width(), options->widgetOptions()->size()->height());
button->setContentSize(contentSize);
}

button->setBright(displaystate);
}

Node* ButtonReader::createNodeWithFlatBuffers(const flatbuffers::Table *buttonOptions)
Expand Down

0 comments on commit c9c05ff

Please sign in to comment.