[jasper/world/studio] Cleanup
Some checks failed
Build / build (push) Has been cancelled

This commit is contained in:
Gary Talent 2024-05-28 21:24:16 -05:00
parent 46c3e4e0de
commit 5d4af474b1

View File

@ -432,7 +432,7 @@ bool WorldEditorImGui::tileSelected(ox::Point const&pt) const noexcept {
return false;
}
auto const&sel = *m_selection;
return inside(pt.x, sel.a.x, sel.b.x) && inside(pt.y, sel.a.y, sel.b.y);
return sel.contains(pt);
}
void WorldEditorImGui::clearSelection() noexcept {