From a26ce4f9f9bb696c91fd7dfa4651bcefc0864ac7 Mon Sep 17 00:00:00 2001 From: Tr1NgleDev Date: Sun, 19 Mar 2023 02:53:45 +0800 Subject: [PATCH] i forgor --- Classes/AppDelegate.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Classes/AppDelegate.cpp b/Classes/AppDelegate.cpp index 3e48e45..e4efdaa 100644 --- a/Classes/AppDelegate.cpp +++ b/Classes/AppDelegate.cpp @@ -95,8 +95,8 @@ void AppDelegate::onGLFWwindowSizeCallback(GLFWwindow*, int w, int h) glView->setDesignResolutionSize(569 - (h - 720), 320, ResolutionPolicy::FIXED_HEIGHT); - //glView->setDesignResolutionSize(569, 320, - // ResolutionPolicy::SHOW_ALL); + glView->setDesignResolutionSize(569, 320, + ResolutionPolicy::SHOW_ALL); director->getEventDispatcher()->dispatchCustomEvent(GLViewImpl::EVENT_WINDOW_RESIZED, nullptr); }