Skip to content

Commit

Permalink
Fix #2161
Browse files Browse the repository at this point in the history
  • Loading branch information
halx99 authored Sep 18, 2024
1 parent c488380 commit 1de0641
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/platform/GLViewImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -600,7 +600,7 @@ bool GLViewImpl::initWithRect(std::string_view viewName, const ax::Rect& rect, f
handleWindowSize(static_cast<int>(windowSize.width), static_cast<int>(windowSize.height));
#else
// sense retina
setFrameSize(windowSize.width, windowSize.height);
setFrameSize(windowSize.width / frameZoomFactor, windowSize.height / frameZoomFactor);
#endif

glfwSetMouseButtonCallback(_mainWindow, GLFWEventHandler::onGLFWMouseCallBack);
Expand Down

0 comments on commit 1de0641

Please sign in to comment.