Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Snapchat/Valdi
/ sizeThatFits
Method
sizeThatFits
snap_drawing/src/snap_drawing/cpp/Layers/Layer.cpp:210–212 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
208
}
209
210
Size Layer::sizeThatFits(Size /*maxSize*/) {
211
return Size::make(0, 0);
212
}
213
214
void Layer::addChild(const Valdi::Ref<Layer>& childLayer) {
215
insertChild(childLayer, getChildrenSize());
Callers
1
layoutIfNeeded
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected