mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-10 03:40:25 +00:00
MTROPOLIS: Fix backwards horizontal/vertical constraint flags on Mac
This commit is contained in:
parent
a0ad61ab3f
commit
2fed763839
@ -615,8 +615,8 @@ bool DragMotionModifier::load(ModifierLoaderContext &context, const Data::DragMo
|
||||
bool constrainHorizontal = false;
|
||||
if (data.haveMacPart) {
|
||||
_dragProps->constrainToParent = ((data.platform.mac.flags & Data::DragMotionModifier::MacPart::kConstrainToParent) != 0);
|
||||
constrainVertical = ((data.platform.mac.flags & Data::DragMotionModifier::MacPart::kConstrainHorizontal) != 0);
|
||||
constrainHorizontal = ((data.platform.mac.flags & Data::DragMotionModifier::MacPart::kConstrainVertical) != 0);
|
||||
constrainHorizontal = ((data.platform.mac.flags & Data::DragMotionModifier::MacPart::kConstrainHorizontal) != 0);
|
||||
constrainVertical = ((data.platform.mac.flags & Data::DragMotionModifier::MacPart::kConstrainVertical) != 0);
|
||||
} else if (data.haveWinPart) {
|
||||
_dragProps->constrainToParent = (data.platform.win.constrainToParent != 0);
|
||||
constrainVertical = (data.platform.win.constrainVertical != 0);
|
||||
|
Loading…
Reference in New Issue
Block a user