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

Method moveNodeGroupVertically

core/ui/LayoutHelper.cpp:334–340  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

332}
333
334void LayoutHelper::moveNodeGroupVertically(const std::vector<Node*>& nodes, float delta)
335{
336 for (auto&& node : nodes)
337 {
338 node->setPositionY(node->getPositionY() - delta);
339 }
340}
341
342/* @brief: group layout and alignment
343** @remark:

Callers

nothing calls this directly

Calls 2

setPositionYMethod · 0.45
getPositionYMethod · 0.45

Tested by

no test coverage detected