Sizing fixes

This commit is contained in:
IlyaShurupov 2024-10-11 15:17:01 +03:00
parent e9a4801d9e
commit 89d5a6d87c
4 changed files with 20 additions and 11 deletions

View file

@ -16,6 +16,7 @@ void RootWidget::processFrame(EventHandler* events, const RectF& screenArea) {
if (mDebug) {
mScreenArea.size -= { 400, 0 };
events->setEnableKeyEvents(true);
if (events->isPressed(InputID::K)) mDebugStopProcessing = !mDebugStopProcessing;
if (mDebugStopProcessing) return;
}