mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-08-29 04:36:21 -05:00
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
daf16357c9 | ||
|
|
8080abc93c | ||
|
|
902715bd3e |
@@ -13,6 +13,7 @@
|
||||
#include "utility.hpp"
|
||||
#include "version.h"
|
||||
|
||||
#include <obs-frontend-api.h>
|
||||
#include <QColor>
|
||||
#include <QGraphicsOpacityEffect>
|
||||
#include <QMenu>
|
||||
@@ -729,6 +730,7 @@ void AdvSceneSwitcher::MacroSelectionChanged()
|
||||
return;
|
||||
}
|
||||
SetEditMacro(*macro);
|
||||
obs_frontend_save();
|
||||
}
|
||||
|
||||
void AdvSceneSwitcher::HighlightOnChange()
|
||||
|
||||
@@ -102,7 +102,6 @@ static void removeVariableRow(QTableWidget *table, const QString &name)
|
||||
|
||||
static void updateVaribleStatus(QTableWidget *table)
|
||||
{
|
||||
auto lock = LockContext();
|
||||
for (int row = 0; row < table->rowCount(); row++) {
|
||||
auto item = table->item(row, 0);
|
||||
if (!item) {
|
||||
|
||||
@@ -67,7 +67,7 @@ bool MacroConditionAudio::CheckOutputCondition()
|
||||
OBSSourceAutoRelease source =
|
||||
obs_weak_source_get_source(_audioSource.GetSource());
|
||||
|
||||
double curVolume = _useDb ? _peak : DecibelToPercent(_peak);
|
||||
double curVolume = _useDb ? _peak : DecibelToPercent(_peak) * 100;
|
||||
|
||||
switch (_outputCondition) {
|
||||
case OutputCondition::ABOVE:
|
||||
|
||||
Reference in New Issue
Block a user