mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-09-11 13:25:53 -04:00
Revert clang formatting suggestion because it breaks the pipeline
This commit is contained in:
parent
ce0ae47478
commit
04d73cf195
@ -70,8 +70,9 @@ namespace MWLua
|
|||||||
= sol::readonly_property([](const SDLUtil::TouchEvent& e) -> int { return e.mDevice; });
|
= sol::readonly_property([](const SDLUtil::TouchEvent& e) -> int { return e.mDevice; });
|
||||||
touchpadEvent["finger"]
|
touchpadEvent["finger"]
|
||||||
= sol::readonly_property([](const SDLUtil::TouchEvent& e) -> int { return e.mFinger; });
|
= sol::readonly_property([](const SDLUtil::TouchEvent& e) -> int { return e.mFinger; });
|
||||||
touchpadEvent["position"]
|
touchpadEvent["position"] = sol::readonly_property([](const SDLUtil::TouchEvent& e) -> osg::Vec2f {
|
||||||
= sol::readonly_property([](const SDLUtil::TouchEvent& e) -> osg::Vec2f { return { e.mX, e.mY }; });
|
return { e.mX, e.mY };
|
||||||
|
});
|
||||||
touchpadEvent["pressure"]
|
touchpadEvent["pressure"]
|
||||||
= sol::readonly_property([](const SDLUtil::TouchEvent& e) -> float { return e.mPressure; });
|
= sol::readonly_property([](const SDLUtil::TouchEvent& e) -> float { return e.mPressure; });
|
||||||
return sol::table(lua, sol::create);
|
return sol::table(lua, sol::create);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user