MCPcopy Create free account
hub / github.com/axmolengine/axmol / onPressStateChangedToNormal

Method onPressStateChangedToNormal

core/ui/UIText.cpp:244–252  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

242}
243
244void Text::onPressStateChangedToNormal()
245{
246 if (!_touchScaleChangeEnabled)
247 {
248 return;
249 }
250 _labelRenderer->setScaleX(_normalScaleValueX);
251 _labelRenderer->setScaleY(_normalScaleValueY);
252}
253
254void Text::onPressStateChangedToPressed()
255{

Callers

nothing calls this directly

Calls 2

setScaleXMethod · 0.45
setScaleYMethod · 0.45

Tested by

no test coverage detected