diff --git a/src/olympic/studio/modlib/include/studio/selectiontracker.hpp b/src/olympic/studio/modlib/include/studio/selectiontracker.hpp index 53f2d5f9..1859f942 100644 --- a/src/olympic/studio/modlib/include/studio/selectiontracker.hpp +++ b/src/olympic/studio/modlib/include/studio/selectiontracker.hpp @@ -126,12 +126,12 @@ class SelectionTracker { constexpr Selection selection() const noexcept { return { { - ox::min(m_pointA.x, m_pointB.x), - ox::min(m_pointA.y, m_pointB.y), + ox::max(0, ox::min(m_pointA.x, m_pointB.x)), + ox::max(0, ox::min(m_pointA.y, m_pointB.y)), }, { - ox::max(m_pointA.x, m_pointB.x), - ox::max(m_pointA.y, m_pointB.y), + ox::max(0, ox::max(m_pointA.x, m_pointB.x)), + ox::max(0, ox::max(m_pointA.y, m_pointB.y)), }, }; }