mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-20 13:23:59 +00:00
Fix issue after clang-format
Signed-off-by: renderexpert <expert@renderconsulting.co.uk>
This commit is contained in:
committed by
Konstantin Pastbin
parent
6259e396f4
commit
3faf052b32
@@ -502,11 +502,11 @@ int main(int argc, char * argv[])
|
|||||||
if (ImGui::GetIO().WantCaptureMouse)
|
if (ImGui::GetIO().WantCaptureMouse)
|
||||||
framework.MakeFrameActive();
|
framework.MakeFrameActive();
|
||||||
|
|
||||||
if (touchActive)
|
|
||||||
#if defined(OMIM_OS_MAC)
|
#if defined(OMIM_OS_MAC)
|
||||||
x *= visualScale;
|
x *= visualScale;
|
||||||
y *= visualScale;
|
y *= visualScale;
|
||||||
#endif
|
#endif
|
||||||
|
if (touchActive)
|
||||||
framework.TouchEvent(GetTouchEvent(framework, x, y, touchMods, df::TouchEvent::TOUCH_MOVE));
|
framework.TouchEvent(GetTouchEvent(framework, x, y, touchMods, df::TouchEvent::TOUCH_MOVE));
|
||||||
};
|
};
|
||||||
glfwSetCursorPosCallback(window, [](GLFWwindow *, double x, double y) { handlers.onMouseMove(x, y); });
|
glfwSetCursorPosCallback(window, [](GLFWwindow *, double x, double y) { handlers.onMouseMove(x, y); });
|
||||||
|
|||||||
Reference in New Issue
Block a user