Compare commits

..

No commits in common. "bf5be00c12420edddc2164973713aeff92939b56" and "a75c4a11d3c555f4d3bed1ea1f70bb29fe49e99c" have entirely different histories.

View File

@ -126,12 +126,12 @@ class SelectionTracker {
constexpr Selection selection() const noexcept { constexpr Selection selection() const noexcept {
return { return {
{ {
ox::max(0, ox::min(m_pointA.x, m_pointB.x)), ox::min(m_pointA.x, m_pointB.x),
ox::max(0, ox::min(m_pointA.y, m_pointB.y)), ox::min(m_pointA.y, m_pointB.y),
}, },
{ {
ox::max(0, ox::max(m_pointA.x, m_pointB.x)), ox::max(m_pointA.x, m_pointB.x),
ox::max(0, ox::max(m_pointA.y, m_pointB.y)), ox::max(m_pointA.y, m_pointB.y),
}, },
}; };
} }