mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-04-05 00:35:46 -05:00
Fix cursor condition frame blocking mouse inputs
This commit is contained in:
parent
07f11c63f0
commit
ff513d8664
|
|
@ -64,17 +64,18 @@ static inline void populateConditionSelection(QComboBox *list)
|
|||
|
||||
MacroConditionCursorEdit::MacroConditionCursorEdit(
|
||||
QWidget *parent, std::shared_ptr<MacroConditionCursor> entryData)
|
||||
: QWidget(parent)
|
||||
: QWidget(parent),
|
||||
_minX(new QSpinBox()),
|
||||
_minY(new QSpinBox()),
|
||||
_maxX(new QSpinBox()),
|
||||
_maxY(new QSpinBox()),
|
||||
_conditions(new QComboBox()),
|
||||
_frameToggle(new QPushButton(obs_module_text(
|
||||
"AdvSceneSwitcher.condition.cursor.showFrame"))),
|
||||
_xPos(new QLabel("-")),
|
||||
_yPos(new QLabel("-"))
|
||||
{
|
||||
_conditions = new QComboBox();
|
||||
_minX = new QSpinBox();
|
||||
_minY = new QSpinBox();
|
||||
_maxX = new QSpinBox();
|
||||
_maxY = new QSpinBox();
|
||||
_frameToggle = new QPushButton(
|
||||
obs_module_text("AdvSceneSwitcher.condition.cursor.showFrame"));
|
||||
_xPos = new QLabel("-");
|
||||
_yPos = new QLabel("-");
|
||||
_frame.setAttribute(Qt::WA_TransparentForMouseEvents);
|
||||
|
||||
populateConditionSelection(_conditions);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user