Handle inset adjustements on the C++ side, handle them better in the UI.

This commit is contained in:
Henrik Rydgård committed 2026-03-14 18:13:37 +01:00
1 parent 13698f81fb
commit 75453632f9
32 files changed
+210 -84

No files matched your search

+1 -1
View File
@@ -1025,7 +1025,7 @@ void VisualMappingScreen::MapNext(bool successive) {
HandleKeyMapping(mapping);
}, I18NCat::KEYMAPPING);
Bounds bounds = screenManager()->getUIContext()->GetLayoutBounds(false);
Bounds bounds = screenManager()->getUIContext()->GetLayoutBounds(LayoutMode(), false);
dialog->SetPopupOffset(psp_->GetPopupOffset() * bounds.h);
dialog->SetDelay(successive ? 0.5f : 0.1f);
screenManager()->push(dialog);