12.2b: the Keyboard Shortcuts window and remapped keys everywhere (Compositor 1.1.6)

This commit is contained in:
雷电芽衣 committed 2026-09-26 19:17:50 -04:00
1 parent f1b2c65c1e
commit 4bfc6c237e
29 files changed
+1645 -164

No files matched your search

+3
View File
@@ -1,4 +1,5 @@
#include "UI/ColorPickerSheet.h"
#include "UI/KeyboardShortcuts.h"
#include <QFontDatabase>
#include <QGridLayout>
#include <QHBoxLayout>
@@ -183,6 +184,8 @@ ColorPickerSheet::ColorPickerSheet(EditorSession &session, std::function<void(bo
m_preview->setAccessibleName(QStringLiteral("New color"));
m_ok->setObjectName(QStringLiteral("pickerOK"));
m_ok->setDefault(true);
// Swift's configuredNativeShortcut: Return and Escape, as remapped.
NativeShortcut::bind(*this, m_ok, m_cancel);
m_ok->setFixedWidth(90);
m_cancel->setObjectName(QStringLiteral("pickerCancel"));
m_cancel->setAutoDefault(false);