Skip to content

Commit

Permalink
fix frequency pulse mode not disabled for level meters
Browse files Browse the repository at this point in the history
  • Loading branch information
phandasm committed Jun 22, 2023
1 parent 124ac52 commit f19b232
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/source.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ namespace callbacks {
set_prop_visible(props, P_MIN_BAR_HEIGHT, bar || step);
set_prop_visible(props, P_CAPS, bar);
obs_property_list_item_disable(obs_properties_get(props, P_RENDER_MODE), 0, !curve && !waveform);
obs_property_list_item_disable(obs_properties_get(props, P_PULSE_MODE), 1, !curve && !bar && !step);
obs_property_list_item_disable(obs_properties_get(props, P_PULSE_MODE), 1, !curve && !p_equ(disp, P_BARS) && !p_equ(disp, P_STEP_BARS));

// meter mode
bool notmeter = !(meter || step_meter);
Expand Down

0 comments on commit f19b232

Please sign in to comment.