This commit is contained in:
parent
46c3e4e0de
commit
5d4af474b1
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user