12.1: feathered selections, Select Subject, Soft Light, the fixed-width font menu (Compositor 1.1.1–1.1.4)

This commit is contained in:
雷电芽衣 committed 2026-09-26 17:15:26 -04:00
1 parent 3e52fd90ee
commit ee34c338d4
42 files changed
+1087 -94

No files matched your search

+12
View File
@@ -1,4 +1,5 @@
#include "ContentView.h"
#include "UI/LassoControls.h"
#include "UI/EffectsSheet.h"
#include "UI/FilterSheet.h"
#include "UI/HueSaturationSheet.h"
@@ -27,6 +28,17 @@ void ContentView::synchronizePanels()
m_adjustmentPanel.close();
}
}
// Swift's onChange of the amount's question: a sheet per question.
if (m_selectionAmountShown != m_session.selectionAmountOperation()) {
m_selectionAmountShown = m_session.selectionAmountOperation();
if (m_selectionAmountShown) {
m_selectionAmountPanel.onClose = [this] { m_session.setSelectionAmountOperation(std::nullopt); };
m_selectionAmountPanel.show(rawValue(*m_selectionAmountShown) + QStringLiteral(" Selection"),
new SelectionAmountSheet(m_session, *m_selectionAmountShown));
} else {
m_selectionAmountPanel.close();
}
}
if (m_filterShown != m_session.filterEdit().has_value()) {
m_filterShown = m_session.filterEdit().has_value();
if (m_filterShown) {