mirror of
https://github.com/OpenMW/openmw.git
synced 2025-10-16 16:46:34 +00:00
Revert clang formatting suggestion because it breaks the pipeline
This commit is contained in:
parent
ce0ae47478
commit
04d73cf195
1 changed files with 3 additions and 2 deletions
|
@ -70,8 +70,9 @@ namespace MWLua
|
|||
= sol::readonly_property([](const SDLUtil::TouchEvent& e) -> int { return e.mDevice; });
|
||||
touchpadEvent["finger"]
|
||||
= sol::readonly_property([](const SDLUtil::TouchEvent& e) -> int { return e.mFinger; });
|
||||
touchpadEvent["position"]
|
||||
= sol::readonly_property([](const SDLUtil::TouchEvent& e) -> osg::Vec2f { return { e.mX, e.mY }; });
|
||||
touchpadEvent["position"] = sol::readonly_property([](const SDLUtil::TouchEvent& e) -> osg::Vec2f {
|
||||
return { e.mX, e.mY };
|
||||
});
|
||||
touchpadEvent["pressure"]
|
||||
= sol::readonly_property([](const SDLUtil::TouchEvent& e) -> float { return e.mPressure; });
|
||||
return sol::table(lua, sol::create);
|
||||
|
|
Loading…
Reference in a new issue