Skip to content

Commit

Permalink
image-source: Set minimal size for color source to 1 pixel
Browse files Browse the repository at this point in the history
  • Loading branch information
exeldro committed Mar 3, 2025
1 parent 0bcf881 commit 0504ed9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/image-source/color-source.c
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@ static obs_properties_t *color_source_properties(void *unused)

obs_properties_add_color_alpha(props, "color", obs_module_text("ColorSource.Color"));

obs_properties_add_int(props, "width", obs_module_text("ColorSource.Width"), 0, 4096, 1);
obs_properties_add_int(props, "width", obs_module_text("ColorSource.Width"), 1, 4096, 1);

obs_properties_add_int(props, "height", obs_module_text("ColorSource.Height"), 0, 4096, 1);
obs_properties_add_int(props, "height", obs_module_text("ColorSource.Height"), 1, 4096, 1);

return props;
}
Expand Down

0 comments on commit 0504ed9

Please sign in to comment.