We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f524da5 commit 8048c63Copy full SHA for 8048c63
src/artboard.cpp
@@ -279,7 +279,7 @@ void Artboard::addNestedArtboard(NestedArtboard* artboard) {
279
}
280
281
Core* Artboard::resolve(uint32_t id) const {
282
- if (id < 0 || id >= static_cast<int>(m_Objects.size())) {
+ if (id >= static_cast<int>(m_Objects.size())) {
283
return nullptr;
284
285
return m_Objects[id];
0 commit comments