2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-07-06 04:35:51 +00:00

Update zeus

This commit is contained in:
Jack Andersen 2016-09-10 15:24:40 -10:00
parent 54a7108b04
commit 238f98f648
2 changed files with 37 additions and 37 deletions

View File

@ -225,7 +225,7 @@ void TextField::mouseDown(const boo::SWindowCoord& coord, boo::EMouseButton butt
{
size_t startPos = m_text->reverseSelectGlyph(coord.pixel[0] - m_text->subRect().location[0]);
setCursorPos(startPos);
m_dragging |= size_t(1 << int(button));
m_dragging |= size_t(1) << size_t(button);
m_dragStart = startPos;
rootView().setActiveDragView(this);
}
@ -234,7 +234,7 @@ void TextField::mouseDown(const boo::SWindowCoord& coord, boo::EMouseButton butt
void TextField::mouseUp(const boo::SWindowCoord& coord, boo::EMouseButton button, boo::EModifierKey mod)
{
m_dragging &= ~(1 << int(button));
m_dragging &= ~(size_t(1) << size_t(button));
if (m_dragging == 0)
rootView().setActiveDragView(nullptr);
}

@ -1 +1 @@
Subproject commit f4dd896004d2a09b7671ab12d288cf888a2d901c
Subproject commit 0e491fc8f56f5ff0b06ddd4ec51ac73f8507a0c7