Fix issue after clang-format

Signed-off-by: renderexpert <expert@renderconsulting.co.uk>
This commit is contained in:
renderexpert
2025-09-20 06:36:36 +01:00
committed by Konstantin Pastbin
parent 6259e396f4
commit 3faf052b32

View File

@@ -502,12 +502,12 @@ int main(int argc, char * argv[])
if (ImGui::GetIO().WantCaptureMouse)
framework.MakeFrameActive();
if (touchActive)
#if defined(OMIM_OS_MAC)
x *= visualScale;
x *= visualScale;
y *= visualScale;
#endif
framework.TouchEvent(GetTouchEvent(framework, x, y, touchMods, df::TouchEvent::TOUCH_MOVE));
if (touchActive)
framework.TouchEvent(GetTouchEvent(framework, x, y, touchMods, df::TouchEvent::TOUCH_MOVE));
};
glfwSetCursorPosCallback(window, [](GLFWwindow *, double x, double y) { handlers.onMouseMove(x, y); });